adding -fPIC to makefiles so they work on amd64
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 29 Mar 2005 21:11:46 +0000 (21:11 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 29 Mar 2005 21:11:46 +0000 (21:11 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@250 9efc2488-bf62-4759-914b-345cdb29e865

src/srfsh/Makefile
src/utils/Makefile

index 2cc8aff..b5d3eff 100644 (file)
@@ -1,6 +1,6 @@
 CC                             = gcc
 LIB_DIR                = ../../lib 
-CC_OPTS                = -Wall -O2 -I /usr/include/libxml2 -I /usr/include/libxml2/libxml -I ../../include 
+CC_OPTS                = -fPIC -Wall -O2 -I /usr/include/libxml2 -I /usr/include/libxml2/libxml -I ../../include 
 EXE_LD_OPTS = -L $(LIB_DIR) -lreadline -lxml2 -lopensrf_transport -lopensrf_stack -ljson -lncurses -lmd5
 
 all: srfsh
index 6952906..12e8ce9 100644 (file)
@@ -1,6 +1,6 @@
 CC                             = gcc
 LIB_DIR                = ../../lib
-CC_OPTS                = -Wall -O2  -I ../../include 
+CC_OPTS                = -fPIC -Wall -O2  -I ../../include 
 EXE_LD_OPTS = -L $(LIB_DIR) 
 
 all: util