diff options
author | grant <grant@pkgsrc.org> | 2004-04-17 19:24:37 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-04-17 19:24:37 +0000 |
commit | 5e2339ec0f21c9bdc3291f75ef478af161bf8b26 (patch) | |
tree | 6500aa1303512f06e0a1022ba3de10d53740663b /archivers/zip | |
parent | 14485eff3d6aa39d2396ea06079e68adcb059f35 (diff) | |
download | pkgsrc-5e2339ec0f21c9bdc3291f75ef478af161bf8b26.tar.gz |
only make the gcc target if we're using gcc.
Diffstat (limited to 'archivers/zip')
-rw-r--r-- | archivers/zip/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/archivers/zip/Makefile b/archivers/zip/Makefile index a63e1f74170..908223c3030 100644 --- a/archivers/zip/Makefile +++ b/archivers/zip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2004/03/23 04:41:00 jlam Exp $ +# $NetBSD: Makefile,v 1.37 2004/04/17 19:24:37 grant Exp $ # FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp # @@ -25,10 +25,13 @@ MAKE_FLAGS= LOCAL_ZIP="${CFLAGS}" LFLAGS1="${_STRIPFLAG_CC}" CFLAGS= -O0 .endif -.if ${OPSYS} == "SunOS" +.include "../../mk/compiler.mk" + +.if !empty(CC_VERSION:Mgcc*) ALL_TARGET= generic_gcc .else ALL_TARGET= generic +CFLAGS= -O .endif .if ${OPSYS} == "Linux" |