Allow gcc link-time optimizations.
authorKim Nguyễn <kn@lri.fr>
Thu, 1 Mar 2012 13:19:21 +0000 (14:19 +0100)
committerKim Nguyễn <kn@lri.fr>
Thu, 1 Mar 2012 13:19:21 +0000 (14:19 +0100)
Makefile

index 910eb1d..03d3fdb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,9 @@ else
 endif
 
 ifeq ($(DEBUG), true)
-       OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -fno-PIC -static
+       OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -static
 else
-       OPT_FLAGS=-O4 $(POPCOUNT_FLAG) -fno-PIC -static
+       OPT_FLAGS=-O4 $(POPCOUNT_FLAG) -static
 endif
 
 CXXFLAGS=-std=c++0x $(INC_FLAGS) $(OPT_FLAGS)