summaryrefslogtreecommitdiff
blob: edd36662bb583a6d342f0a190be86411759d4c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- Makefile.orig	2006-06-04 09:50:43.000000000 +0100
+++ Makefile	2006-06-04 09:50:53.000000000 +0100
@@ -81,7 +81,7 @@
 CCOPTIONS := -pedantic -Wall -Wpointer-arith
 CCOPTIONS += $(call check_gcc,-fno-merge-constants,)
 CDEBUGFLAGS = -O2
-CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)"
+CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)" -fPIC
 CFLAGSCLIENT = $(CDEBUGFLAGS) $(CCOPTIONS) -DVERSION="\"$(VERSION)\""  -DVERSION_ID="$(VERSION_ID)" -I$(X_INCLUDES_ROOT)/include
 
 CC = gcc