diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2010-05-10 18:20:32 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2010-05-10 18:20:32 +0000 |
commit | 3d048d0ab0d9212a257df4643785a7fc4500f65a (patch) | |
tree | ee69a2ee7a0126c6826e618641e3694b28356554 /regress/lib/libc | |
parent | 74ec6f5d77854dfd44aaf3ee3e8836f9a15c38ff (diff) |
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.
Diffstat (limited to 'regress/lib/libc')
-rw-r--r-- | regress/lib/libc/cxa-atexit/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/regress/lib/libc/cxa-atexit/Makefile b/regress/lib/libc/cxa-atexit/Makefile index ffd83fe1ca4..5061ca04ac8 100644 --- a/regress/lib/libc/cxa-atexit/Makefile +++ b/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 <bsd.own.mk> -USE_GCC3?=No -.if ${USE_GCC3:L} == "yes" +.if ${COMPILER_VERSION:L} == "gcc3" || ${COMPILER_VERSION:L} == "gcc4" SUBDIR+= libgd1 libgd2 test1 .endif |