diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-01-11 12:39:16 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-01-11 12:39:16 +0000 |
commit | da3f8f7bac42022666ea8ec8975080111f7f9601 (patch) | |
tree | dc1afaba88c133daafdf675d7f4cd800160f0bc4 /lib/libGL/mesa/Makefile.inc | |
parent | 460210f60a61f2f7642e1baba125a9030c17f5fb (diff) |
m68k needs libGL compiled with -fPIC
Diffstat (limited to 'lib/libGL/mesa/Makefile.inc')
-rw-r--r-- | lib/libGL/mesa/Makefile.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libGL/mesa/Makefile.inc b/lib/libGL/mesa/Makefile.inc index 0b6e15c3a..77eadf8aa 100644 --- a/lib/libGL/mesa/Makefile.inc +++ b/lib/libGL/mesa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.6 2013/11/24 06:23:35 jsg Exp $ +# $OpenBSD: Makefile.inc,v 1.7 2014/01/11 12:39:14 miod Exp $ MESA= ${.CURDIR}/../../../../dist/Mesa/src/mesa MAPI= ${.CURDIR}/../../../../dist/Mesa/src/mapi @@ -522,6 +522,7 @@ x86_xform4.so: matypes.h .PATH: ${.CURDIR}/../../generated/main .PATH: ${.CURDIR}/../../generated/program -.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == sparc +.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "powerpc" || \ + ${MACHINE_ARCH} == "sparc" PICFLAG=-fPIC .endif |