From c9a70af3150389d9b5ca2f065eee3047ceeb328a Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 29 Mar 2005 21:11:46 +0000 Subject: [PATCH] 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 --- src/srfsh/Makefile | 2 +- src/utils/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.2