aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-22 00:03:57 +0800
committerarved <arved@FreeBSD.org>2003-11-22 00:03:57 +0800
commit4c907120329605303ca8354d91488a02faa31de6 (patch)
tree36ffa24ad834a3ca071d9b4259ecb880109d7200
parentc273f903554e8fe5ce15fe524d8d89811b9dbbc6 (diff)
downloadfreebsd-ports-gnome-4c907120329605303ca8354d91488a02faa31de6.tar.gz
freebsd-ports-gnome-4c907120329605303ca8354d91488a02faa31de6.tar.zst
freebsd-ports-gnome-4c907120329605303ca8354d91488a02faa31de6.zip
Add -fPIC to fix build on amd64
Approved by: osa
-rw-r--r--databases/fastdb/files/patch-makefile2
1 files changed, 1 insertions, 1 deletions
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,$@