diff options
author | arved <arved@FreeBSD.org> | 2003-11-22 00:03:57 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-11-22 00:03:57 +0800 |
commit | 4c907120329605303ca8354d91488a02faa31de6 (patch) | |
tree | 36ffa24ad834a3ca071d9b4259ecb880109d7200 /databases/fastdb | |
parent | c273f903554e8fe5ce15fe524d8d89811b9dbbc6 (diff) | |
download | freebsd-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
Diffstat (limited to 'databases/fastdb')
-rw-r--r-- | databases/fastdb/files/patch-makefile | 2 |
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,$@ |