From ebf82f844d3ea363e78938be67adea7f6943555d Mon Sep 17 00:00:00 2001 From: Fabio Tranchitella Date: Fri, 18 Aug 2006 21:46:28 +0000 Subject: [PATCH] Portability fix: add the -fPIC flags in the Makefile. --- lib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 8e2fdac..9b529f8 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,7 +1,8 @@ CC = gcc CXX = g++ -CFLAGS = -Wall -W -O2 -DNDEBUG -DMDEBUG0 -g -p +CFLAGS = -Wall -W -O2 -DNDEBUG -DMDEBUG0 -g -p -fPIC +CXXFLAGS += -fPIC all : checklib aptvercmp freelist britneymodule.so # libajdpkg.a