Portability fix: add the -fPIC flags in the Makefile.

This commit is contained in:
Fabio Tranchitella 2006-08-18 21:46:28 +00:00
parent a0dc325294
commit ebf82f844d

View File

@ -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