summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libds/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/libds/Makefile b/devel/libds/Makefile
index 4066daa6d9c6..da9d18675533 100644
--- a/devel/libds/Makefile
+++ b/devel/libds/Makefile
@@ -24,6 +24,10 @@ MAN3= libds.3
HTML= avltree.html heap.html parray.html set.html hashtbl.html \
index.html queue.html stack.html
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
# Copy header file and libraries.
do-install:
${INSTALL_DATA} ${WRKSRC}/ds.h ${PREFIX}/include