summaryrefslogtreecommitdiff
path: root/databases/fastdb
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-11-21 16:03:57 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-11-21 16:03:57 +0000
commit5f5fb68ef7b44c6944d246daf65c31b2e4f29e37 (patch)
treebc90ac6ed71afd6f8bfd60f9c866bff4df93eb3e /databases/fastdb
parentReinstate PORTEPOCH, accidentally deleted in previous commit. (diff)
Add -fPIC to fix build on amd64
Approved by: osa
Notes
Notes: svn path=/head/; revision=94662
Diffstat (limited to 'databases/fastdb')
-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,$@