summaryrefslogtreecommitdiff
path: root/lib/libGL/dri/swrast
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2008-11-05 07:18:27 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2008-11-05 07:18:27 +0000
commit97a2b0e278f674d7f51ff98703f6049405fd17fe (patch)
tree1c7f976eb342a1fe7a914dd3adbfcbfe17dc84e7 /lib/libGL/dri/swrast
parent0af5c3db69a9668006c463a0ca5668b7dcc3eda5 (diff)
add -fPIC for sparc
ugly, but ok matthieu@
Diffstat (limited to 'lib/libGL/dri/swrast')
-rw-r--r--lib/libGL/dri/swrast/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libGL/dri/swrast/Makefile b/lib/libGL/dri/swrast/Makefile
index 3ca950394..13bebce29 100644
--- a/lib/libGL/dri/swrast/Makefile
+++ b/lib/libGL/dri/swrast/Makefile
@@ -1,7 +1,12 @@
-# $OpenBSD: Makefile,v 1.1 2008/11/02 15:01:32 matthieu Exp $
+# $OpenBSD: Makefile,v 1.2 2008/11/05 07:18:25 todd Exp $
LIB= swrast_dri.so
+.if ${MACHINE} == "sparc"
+PICFLAG = -fPIC
+.endif
+
+
SWRAST_COMMON_SOURCES = \
driverfuncs.c \
utils.c