From 5a36fcc1c46490330487900d818ea64d85ac1f1a Mon Sep 17 00:00:00 2001 From: drahn <> Date: Mon, 10 May 2010 18:20:31 +0000 Subject: Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco, with fixes from espie@. ok espie@ general mumbling of approval of others. --- src/regress/lib/libc/cxa-atexit/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/regress/lib/libc/cxa-atexit/Makefile b/src/regress/lib/libc/cxa-atexit/Makefile index ffd83fe1ca..5061ca04ac 100644 --- a/src/regress/lib/libc/cxa-atexit/Makefile +++ b/src/regress/lib/libc/cxa-atexit/Makefile @@ -1,10 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2007/09/03 14:42:44 millert Exp $ +# $OpenBSD: Makefile,v 1.2 2010/05/10 18:20:31 drahn Exp $ .include -USE_GCC3?=No -.if ${USE_GCC3:L} == "yes" +.if ${COMPILER_VERSION:L} == "gcc3" || ${COMPILER_VERSION:L} == "gcc4" SUBDIR+= libgd1 libgd2 test1 .endif -- cgit v1.2.3-55-g6feb