diff options
author | sketch <sketch@pkgsrc.org> | 2003-12-19 18:21:03 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2003-12-19 18:21:03 +0000 |
commit | e1cea6386d7383b098de3b8403bfe49063b17960 (patch) | |
tree | b3a4c84a89ee472c9bd9742d429c9371df3c3081 /x11/xscreensaver | |
parent | 364f050ee34670ca9abf91883f77233a510dbc7c (diff) | |
download | pkgsrc-e1cea6386d7383b098de3b8403bfe49063b17960.tar.gz |
Check for GCC using CC_VERSION rather than _CC_IS_GCC, as the latter is
not defined when building with USE_SUNPRO, breaking the build.
Diffstat (limited to 'x11/xscreensaver')
-rw-r--r-- | x11/xscreensaver/Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/xscreensaver/Makefile.common b/x11/xscreensaver/Makefile.common index 8429c49faf0..453174397d9 100644 --- a/x11/xscreensaver/Makefile.common +++ b/x11/xscreensaver/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.61 2003/12/18 13:49:17 atatat Exp $ +# $NetBSD: Makefile.common,v 1.62 2003/12/19 18:21:03 sketch Exp $ # DISTNAME= xscreensaver-4.14 @@ -52,7 +52,7 @@ CONFIGURE_ARGS+= --without-kerberos . endif .endif -.if (${_CC_IS_GCC} == "YES") +.if !empty(CC_VERSION:Mgcc*) CFLAGS+= -fno-strict-aliasing .endif |