diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2008-11-05 07:18:27 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2008-11-05 07:18:27 +0000 |
commit | 97a2b0e278f674d7f51ff98703f6049405fd17fe (patch) | |
tree | 1c7f976eb342a1fe7a914dd3adbfcbfe17dc84e7 /lib/libGL/dri/swrast | |
parent | 0af5c3db69a9668006c463a0ca5668b7dcc3eda5 (diff) |
add -fPIC for sparc
ugly, but ok matthieu@
Diffstat (limited to 'lib/libGL/dri/swrast')
-rw-r--r-- | lib/libGL/dri/swrast/Makefile | 7 |
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 |