diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 24ac628..8d5d97c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,5 +1,7 @@ -CXXFLAGS = -DNDEBUG -ffunction-sections -fdata-sections -g -O2 -LDFLAGS += -Wl,--gc-sections +CXXFLAGS = -DNDEBUG -g -O2 +# 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 RANLIB = ranlib CP = cp |