From 8f2caa352a5e2578f6219d3cbf852f34afddd5e6 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 13 May 2010 17:38:58 +0000 Subject: zap USE_GCC3, prepare for gcc4. okay oga@ --- lib/libGLU/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/libGLU/Makefile b/lib/libGLU/Makefile index 66fa6fb7e..5cfb35a43 100644 --- a/lib/libGLU/Makefile +++ b/lib/libGLU/Makefile @@ -1,7 +1,6 @@ -# $OpenBSD: Makefile,v 1.11 2010/05/08 14:15:29 matthieu Exp $ +# $OpenBSD: Makefile,v 1.12 2010/05/13 17:38:57 espie Exp $ .include -USE_GCC3?=No DEBUG?= MESA_MAJOR= 7 @@ -124,7 +123,8 @@ CPPFLAGS+= -I${DIST}/include \ -I${GLU}/libnurbs/interface \ -I${GLU}/libnurbs/nurbtess \ -DLIBRARYBUILD -D_EXTENSIONS_ -.if ${USE_GCC3:L} == "yes" + +.if ${COMPILER_VERSION:L:Mgcc[34]*} LDADD+= -lsupc++ .endif -- cgit v1.2.3