summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-03-03 12:47:58 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-03-03 12:47:58 +0000
commitd2a4ee8e5f912853dfeacf706533619016c5b9bf (patch)
tree9104df0d0b95062743f848c44f9ea018d816a55a /graphics
parentFix build. (diff)
Fix build on AMD64
Notes
Notes: svn path=/head/; revision=102814
Diffstat (limited to 'graphics')
-rw-r--r--graphics/hs-hgl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/hs-hgl/Makefile b/graphics/hs-hgl/Makefile
index ed059d7bd234..183713180e13 100644
--- a/graphics/hs-hgl/Makefile
+++ b/graphics/hs-hgl/Makefile
@@ -30,6 +30,10 @@ MAKE_ENV= system=FreeBSD \
hugs_install=${HGL_LIBS}
ALL_TARGET= all
+.if ${MACHINE_ARCH:L} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
do-install:
${MKDIR} ${HGL_LIBS}
${MKDIR} ${HGL_LIBS}/demos