diff options
author | grant <grant> | 2003-09-25 20:38:45 +0000 |
---|---|---|
committer | grant <grant> | 2003-09-25 20:38:45 +0000 |
commit | 5280984e78f822316be297b1edf9f01c87dad395 (patch) | |
tree | 0b7e10fec46fcc5dd0e718365765dd05beacdea5 /archivers/bzip2 | |
parent | 8707d916942bbd66abaedc5e2c2f8f05695b3b65 (diff) | |
download | pkgsrc-5280984e78f822316be297b1edf9f01c87dad395.tar.gz |
test CC_VERSION rather than doing our own dance to figure out if we're
using gcc or not.
Diffstat (limited to 'archivers/bzip2')
-rw-r--r-- | archivers/bzip2/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/archivers/bzip2/Makefile b/archivers/bzip2/Makefile index b7b178b045e..700c11611da 100644 --- a/archivers/bzip2/Makefile +++ b/archivers/bzip2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2003/09/18 18:46:28 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2003/09/25 20:38:45 grant Exp $ # DISTNAME= bzip2-1.0.2 @@ -15,9 +15,7 @@ MAKE_ENV+= REALCC="${BUILDLINK_CC}" .include "../../mk/bsd.prefs.mk" -CCVERS!= ${CC} -v 2>&1 | ${GREP} "gcc" || ${ECHO} "notgcc" - -.if ${CCVERS} != "notgcc" +.if !empty(CC_VERSION:Mgcc*) BZIP_CFLAGS= -Wall -Winline -fomit-frame-pointer -fno-strength-reduce .endif |