From eda2f67bb64ecb9d3352d08d9da0ba0fc8ec60f9 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sun, 22 Feb 2004 18:15:12 +0000 Subject: [PATCH] Fix build on AMD64 PR: 63185 Submitted by: Hendrik Scholz --- devel/libds/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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