Added the -fPIC for the DEBUG mode.
authorFrancois Fleuret <francois@fleuret.org>
Thu, 5 Jan 2012 08:01:38 +0000 (09:01 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Thu, 5 Jan 2012 08:01:38 +0000 (09:01 +0100)
Makefile

index 232fe63..1331d46 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
 # CXX=g++-3.3
 
 ifeq ($(DEBUG),yes)
- CXXFLAGS = -Wall -g -DDEBUG
+ CXXFLAGS = -fPIC -Wall -g -DDEBUG
 else
  # Optimized compilation
 #  CXXFLAGS = -Wall -g -O3 -pg --coverage