From: miker Date: Tue, 29 Mar 2005 21:11:46 +0000 (+0000) Subject: adding -fPIC to makefiles so they work on amd64 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c9a70af3150389d9b5ca2f065eee3047ceeb328a;p=working%2FOpenSRF.git adding -fPIC to makefiles so they work on amd64 git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@250 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/srfsh/Makefile b/src/srfsh/Makefile index 2cc8aff..b5d3eff 100644 --- a/src/srfsh/Makefile +++ b/src/srfsh/Makefile @@ -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 diff --git a/src/utils/Makefile b/src/utils/Makefile index 6952906..12e8ce9 100644 --- a/src/utils/Makefile +++ b/src/utils/Makefile @@ -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