summaryrefslogtreecommitdiff
path: root/lib/libGL/glsl/libglsl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libGL/glsl/libglsl/Makefile')
-rw-r--r--lib/libGL/glsl/libglsl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libGL/glsl/libglsl/Makefile b/lib/libGL/glsl/libglsl/Makefile
index 44b2b3385..0a58c183c 100644
--- a/lib/libGL/glsl/libglsl/Makefile
+++ b/lib/libGL/glsl/libglsl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2013/09/05 15:12:08 jsg Exp $
+# $OpenBSD: Makefile,v 1.7 2014/01/11 12:39:14 miod Exp $
.include <bsd.xconf.mk>
MESA= ${.CURDIR}/../../../../dist/Mesa/src/mesa
@@ -181,6 +181,7 @@ ${LIB}_pic.a: ${OBJS} $(DPADD)
.PATH: ${.CURDIR}/../../generated/glsl
.PATH: ${.CURDIR}/../../generated/glsl/glcpp
-.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == sparc
+.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "powerpc" || \
+ ${MACHINE_ARCH} == "sparc"
PICFLAG=-fPIC
.endif