diff options
-rw-r--r-- | graphics/hs-hgl/Makefile | 4 |
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 |