From: Francois Fleuret Date: Thu, 5 Jan 2012 08:01:38 +0000 (+0100) Subject: Added the -fPIC for the DEBUG mode. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=1ee596cd46c3bed0aa291b78c99fa7f8efc0538e;p=universe.git Added the -fPIC for the DEBUG mode. --- diff --git a/Makefile b/Makefile index 232fe63..1331d46 100644 --- 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