From 9eba551554d86fd6cfddc9a9ea81f4d5dc00e155 Mon Sep 17 00:00:00 2001 From: miod Date: Thu, 22 Aug 2013 18:48:45 +0000 Subject: [PATCH] Remove COMPILER_VERSION tests used to special-case gcc 2, since it is no longer used. --- Makefile | 4 ++-- lib/libGL/dri/Makefile.inc | 8 ++------ lib/libGLU/Makefile | 4 +--- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 2ee03a04d..0467134b5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.51 2013/02/21 17:45:32 todd Exp $ +# $OpenBSD: Makefile,v 1.52 2013/08/22 18:48:45 miod Exp $ .include .include @@ -13,7 +13,7 @@ XSERVER= xserver .endif .if defined(XENOCARA_BUILD_PIXMAN) -.if ${COMPILER_VERSION:L:Mgcc[34]*} && ${XENOCARA_BUILD_PIXMAN:L} == "yes" && \ +.if ${XENOCARA_BUILD_PIXMAN:L} == "yes" && \ ${XENOCARA_HAVE_SHARED_LIBS:L} == "yes" XSERVER+= kdrive .endif diff --git a/lib/libGL/dri/Makefile.inc b/lib/libGL/dri/Makefile.inc index 82a3809ae..c0536cc48 100644 --- a/lib/libGL/dri/Makefile.inc +++ b/lib/libGL/dri/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.16 2012/11/28 13:53:16 mpi Exp $ +# $OpenBSD: Makefile.inc,v 1.17 2013/08/22 18:48:46 miod Exp $ .include TOP= ${.CURDIR}/../../../../dist/Mesa @@ -18,13 +18,9 @@ COMMON_SOURCES = $(COMMON_GALLIUM_SOURCES) \ texmem.c \ drirenderbuffer.c -CFLAGS+= -g -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DPTHREADS \ +CFLAGS+= -std=c99 -g -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DPTHREADS \ $(INCLUDES) $(DRIVER_DEFINES) -.if (${COMPILER_VERSION:L:Mgcc[34]*} != "") -CFLAGS += -std=c99 -.endif - INCLUDES = \ -I$(TOP)/src/mesa/drivers/dri/common \ -I$(TOP)/include \ diff --git a/lib/libGLU/Makefile b/lib/libGLU/Makefile index 37c476781..c8e7f0496 100644 --- a/lib/libGLU/Makefile +++ b/lib/libGLU/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.17 2012/08/17 15:16:44 mpi Exp $ +# $OpenBSD: Makefile,v 1.18 2013/08/22 18:48:46 miod Exp $ .include DEBUG?= @@ -124,9 +124,7 @@ CPPFLAGS+= -I${DIST}/include \ -I${GLU}/libnurbs/nurbtess \ -DLIBRARYBUILD -D_EXTENSIONS_ -.if ${COMPILER_VERSION:L:Mgcc[34]*} LDADD+= -lsupc++ -.endif NOPROFILE=