summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrahn <>2010-05-10 18:20:31 +0000
committerdrahn <>2010-05-10 18:20:31 +0000
commit85b4a90e5749e07fbbe38899c0378ac76f9603fa (patch)
tree7e42b34e025f5d1d2f18010baafdaa284cc23dc4 /src
parent774ac5b3a4d8ea16943c1f374c06c5e2c21a72c2 (diff)
downloadopenbsd-85b4a90e5749e07fbbe38899c0378ac76f9603fa.tar.gz
openbsd-85b4a90e5749e07fbbe38899c0378ac76f9603fa.tar.bz2
openbsd-85b4a90e5749e07fbbe38899c0378ac76f9603fa.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.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libc/cxa-atexit/Makefile5
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
5USE_GCC3?=No
6 5
7.if ${USE_GCC3:L} == "yes" 6.if ${COMPILER_VERSION:L} == "gcc3" || ${COMPILER_VERSION:L} == "gcc4"
8SUBDIR+= libgd1 libgd2 test1 7SUBDIR+= libgd1 libgd2 test1
9.endif 8.endif
10 9