From 1ee596cd46c3bed0aa291b78c99fa7f8efc0538e Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 5 Jan 2012 09:01:38 +0100 Subject: [PATCH] Added the -fPIC for the DEBUG mode. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5