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

bzr-import-20160707
Fabio Tranchitella 19 years ago
parent a0dc325294
commit ebf82f844d

@ -1,7 +1,8 @@
CC = gcc CC = gcc
CXX = g++ 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 all : checklib aptvercmp freelist britneymodule.so # libajdpkg.a

Loading…
Cancel
Save