From d691c8dda3a4318cb529353243d52ba36186b94a Mon Sep 17 00:00:00 2001 From: arved Date: Sun, 22 Feb 2004 18:15:12 +0000 Subject: Fix build on AMD64 PR: 63185 Submitted by: Hendrik Scholz --- devel/libds/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'devel') diff --git a/devel/libds/Makefile b/devel/libds/Makefile index 4066daa..da9d186 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 -- cgit v1.1