From da3f8f7bac42022666ea8ec8975080111f7f9601 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 11 Jan 2014 12:39:16 +0000 Subject: m68k needs libGL compiled with -fPIC --- lib/libGL/mesa/Makefile.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/libGL/mesa/Makefile.inc') 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 -- cgit v1.2.3