summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/hidden
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2010-05-10 18:20:32 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2010-05-10 18:20:32 +0000
commit3d048d0ab0d9212a257df4643785a7fc4500f65a (patch)
treeee69a2ee7a0126c6826e618641e3694b28356554 /regress/libexec/ld.so/hidden
parent74ec6f5d77854dfd44aaf3ee3e8836f9a15c38ff (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/libexec/ld.so/hidden')
-rw-r--r--regress/libexec/ld.so/hidden/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/regress/libexec/ld.so/hidden/Makefile b/regress/libexec/ld.so/hidden/Makefile
index f7cd54cfd1e..c3751a2434d 100644
--- a/regress/libexec/ld.so/hidden/Makefile
+++ b/regress/libexec/ld.so/hidden/Makefile
@@ -1,10 +1,8 @@
-# $OpenBSD: Makefile,v 1.1 2007/07/31 20:31:42 kurt 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+= libaa libab test1 test2
.endif