diff options
author | drahn <> | 2010-05-10 18:20:31 +0000 |
---|---|---|
committer | drahn <> | 2010-05-10 18:20:31 +0000 |
commit | 5a36fcc1c46490330487900d818ea64d85ac1f1a (patch) | |
tree | 7e42b34e025f5d1d2f18010baafdaa284cc23dc4 | |
parent | 4465796928057096f5cb5117866224faf39184cb (diff) | |
download | openbsd-5a36fcc1c46490330487900d818ea64d85ac1f1a.tar.gz openbsd-5a36fcc1c46490330487900d818ea64d85ac1f1a.tar.bz2 openbsd-5a36fcc1c46490330487900d818ea64d85ac1f1a.zip |
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.
-rw-r--r-- | src/regress/lib/libc/cxa-atexit/Makefile | 5 |
1 files 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 @@ | |||
1 | # $OpenBSD: Makefile,v 1.1 2007/09/03 14:42:44 millert Exp $ | 1 | # $OpenBSD: Makefile,v 1.2 2010/05/10 18:20:31 drahn Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
4 | 4 | ||
5 | USE_GCC3?=No | ||
6 | 5 | ||
7 | .if ${USE_GCC3:L} == "yes" | 6 | .if ${COMPILER_VERSION:L} == "gcc3" || ${COMPILER_VERSION:L} == "gcc4" |
8 | SUBDIR+= libgd1 libgd2 test1 | 7 | SUBDIR+= libgd1 libgd2 test1 |
9 | .endif | 8 | .endif |
10 | 9 | ||