Refactoring, add -Wa,-mbig_obj

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-12-01 20:17:32 +01:00
parent dddf878d43
commit 6d53f43d46

View File

@ -20,7 +20,7 @@ CXX = g++
LINK = $(CXX) LINK = $(CXX)
LIB = ar -cr LIB = ar -cr
RANLIB = ranlib RANLIB = ranlib
SHLIB = $(CXX) -shared -o $@ -Wl,--out-implib=$(dir $@)$(subst cyg,lib,$(notdir $@)).a -Wl,--export-all-symbols -Wl,--enable-auto-import SHLIB = $(CXX) -shared -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.gcc DEP = $(POCO_BASE)/build/script/makedepend.gcc
@ -46,9 +46,12 @@ IMPLIBLINKEXT = .dll.a
CFLAGS = CFLAGS =
CFLAGS32 = CFLAGS32 =
CFLAGS64 = CFLAGS64 =
CXXFLAGS = -DPOCO_NO_FPENVIRONMENT -DPOCO_NO_WSTRING -Wa,-mbig-obj CXXFLAGS = -DPOCO_NO_FPENVIRONMENT -DPOCO_NO_WSTRING
CXXFLAGS32 = CXXFLAGS32 = -Wa,-mbig-obj
CXXFLAGS64 = CXXFLAGS64 = -Wa,-mbig-obj
SHLIBFLAGS = -Wl,--out-implib=$(dir $@)$(subst cyg,lib,$(notdir $@)).a -Wl,--export-all-symbols -Wl,--enable-auto-import
SHLIBFLAGS32 =
SHLIBFLAGS64 =
LINKFLAGS = LINKFLAGS =
LINKFLAGS32 = LINKFLAGS32 =
LINKFLAGS64 = LINKFLAGS64 =