All pastes #39680 Raw Edit

Miscellany

public text v1 · immutable
#39680 ·published 2006-02-02 22:05 UTC
rendered paste body
Index: Makefile
===================================================================
RCS file: /i4ldev/mISDNuser/Makefile,v
retrieving revision 1.0.4.6
diff -u -r1.0.4.6 Makefile
--- Makefile    16 Dec 2005 13:43:28 -0000      1.0.4.6
+++ Makefile    2 Feb 2006 22:04:57 -0000
@@ -21,6 +21,9 @@

 CFLAGS:= -g -Wall -O2 -I $(INCLUDEDIR) -I $(MISDNINCLUDEDIR)
 CFLAGS+= -D CLOSE_REPORT=1
+ifeq ($(shell uname -m),x86_64)
+CFLAGS        += -fPIC
+endif
 export CFLAGS

 mISDNLIB       := $(PWD)/lib/libmISDN.a