summaryrefslogtreecommitdiff
path: root/lib/libGL/dri
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/libGL/dri
parent460210f60a61f2f7642e1baba125a9030c17f5fb (diff)
m68k needs libGL compiled with -fPIC
Diffstat (limited to 'lib/libGL/dri')
-rw-r--r--lib/libGL/dri/swrast/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libGL/dri/swrast/Makefile b/lib/libGL/dri/swrast/Makefile
index a0a1d94cd..ddf431fbd 100644
--- a/lib/libGL/dri/swrast/Makefile
+++ b/lib/libGL/dri/swrast/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.5 2013/09/05 15:11:58 jsg Exp $
+# $OpenBSD: Makefile,v 1.6 2014/01/11 12:39:14 miod Exp $
LIB= swrast_dri.so
-.if ${MACHINE_ARCH} == "sparc"
+.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "sparc"
PICFLAG = -fPIC
.endif