diff options
author | grant <grant> | 2003-09-25 20:38:45 +0000 |
---|---|---|
committer | grant <grant> | 2003-09-25 20:38:45 +0000 |
commit | ace90c14ba6723be95028a5b8b95124e0de3c598 (patch) | |
tree | 0b7e10fec46fcc5dd0e718365765dd05beacdea5 /archivers | |
parent | 027b9e9aeb86a0c6cfde2da5b07a08b40eae3bf8 (diff) | |
download | pkgsrc-ace90c14ba6723be95028a5b8b95124e0de3c598.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')
-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 |