Removed -Oz from symbolize. Moved MinGW libraries down before recipes

pull/35/head
Jeffrey Walton 2015-07-25 09:17:26 -04:00
parent d215898465
commit 6ac2555052
1 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,3 @@
#################################################################
# Tool and flag setup
@ -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
@ -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?
@ -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