From 4c907120329605303ca8354d91488a02faa31de6 Mon Sep 17 00:00:00 2001 From: arved Date: Fri, 21 Nov 2003 16:03:57 +0000 Subject: Add -fPIC to fix build on amd64 Approved by: osa --- databases/fastdb/files/patch-makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'databases/fastdb') diff --git a/databases/fastdb/files/patch-makefile b/databases/fastdb/files/patch-makefile index 22bdbcce6498..ddde8c966ad6 100644 --- a/databases/fastdb/files/patch-makefile +++ b/databases/fastdb/files/patch-makefile @@ -23,7 +23,7 @@ #CFLAGS = $(TFLAGS) -c -Wall -O5 -g $(DEFS) -CFLAGS = -c -Wall -O0 -g $(DEFS) $(TFLAGS) -+CFLAGS = -c ${CXXFLAGS} $(DEFS) $(TFLAGS) ++CFLAGS = -c ${CXXFLAGS} $(DEFS) $(TFLAGS) -fPIC #CFLAGS = -c -Wall -O0 -DFASTDB_DEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS) -SHFLAGS=-shared +SHFLAGS = -shared -Wl,-soname,$@ -- cgit