Skip to content

Commit

Permalink
Removed -Oz from symbolize. Moved MinGW libraries down before recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
noloader committed Jul 25, 2015
1 parent d215898 commit 6ac2555
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#################################################################
# Tool and flag setup

Expand Down Expand Up @@ -32,7 +31,7 @@ CXXFLAGS += -DNDEBUG
endif

# Add a symolize if nothing specified
ifeq ($(filter -g -g1 -g2 -g3 -Oz,$(CXXFLAGS)),)
ifeq ($(filter -g -g1 -g2 -g3,$(CXXFLAGS)),)
CXXFLAGS += -g2
endif

Expand Down Expand Up @@ -253,11 +252,6 @@ CXXFLAGS += -Wa,--divide # allow use of "/" operator
endif # IS_SUN
endif # GAS210_OR_LATER

#########################
ifeq ($(IS_MINGW),1)
LDLIBS += -lws2_32
endif # IS_MINGW

endif # IS_X86

# Should most of this be moved to outside of i386/i686/x86_64 block?
Expand Down Expand Up @@ -336,6 +330,11 @@ LIBIMPORTOBJS = $(LIBOBJS:.o=.import.o)
TESTIMPORTOBJS = $(TESTOBJS:.o=.import.o)
DLLTESTOBJS = dlltest.dllonly.o

# MinGW's shell fails to match i686 machine
ifneq ($(IS_MINGW),0)
LDLIBS += -lws2_32
endif # IS_MINGW

#################################################################
# Public service announcement

Expand Down

0 comments on commit 6ac2555

Please sign in to comment.