revert -ffunction-sections -fdata-sections
parent
dbf12b654a
commit
0f96a7cd38
|
|
@ -1,5 +1,7 @@
|
||||||
CXXFLAGS = -DNDEBUG -ffunction-sections -fdata-sections -g -O2
|
CXXFLAGS = -DNDEBUG -g -O2
|
||||||
LDFLAGS += -Wl,--gc-sections
|
# the following options reduce code size, but breaks link or makes link very slow on some systems
|
||||||
|
# CXXFLAGS += -ffunction-sections -fdata-sections
|
||||||
|
# LDFLAGS += -Wl,--gc-sections
|
||||||
ARFLAGS = -cr # ar needs the dash on OpenBSD
|
ARFLAGS = -cr # ar needs the dash on OpenBSD
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue