Allow gcc link-time optimizations.
[SXSI/XMLTree.git] / 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)