summaryrefslogtreecommitdiff
path: root/lib/libGLESv1_CM
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-01-11 12:39:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-01-11 12:39:16 +0000
commitda3f8f7bac42022666ea8ec8975080111f7f9601 (patch)
treedc1afaba88c133daafdf675d7f4cd800160f0bc4 /lib/libGLESv1_CM
parent460210f60a61f2f7642e1baba125a9030c17f5fb (diff)
m68k needs libGL compiled with -fPIC
Diffstat (limited to 'lib/libGLESv1_CM')
-rw-r--r--lib/libGLESv1_CM/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libGLESv1_CM/Makefile b/lib/libGLESv1_CM/Makefile
index c0f281916..dbb465c31 100644
--- a/lib/libGLESv1_CM/Makefile
+++ b/lib/libGLESv1_CM/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2013/11/24 06:23:35 jsg Exp $
+# $OpenBSD: Makefile,v 1.5 2014/01/11 12:39:14 miod Exp $
.include <bsd.xconf.mk>
LIB= GLESv1_CM
@@ -83,7 +83,8 @@ obj: _xenocara_obj
.include <bsd.lib.mk>
.include <bsd.xorg.mk>
-.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == sparc
+.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "powerpc" || \
+ ${MACHINE_ARCH} == "sparc"
PICFLAG = -fPIC
.endif