summaryrefslogtreecommitdiff
path: root/mk/defs.SunOS.mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-11 02:44:17 +0000
committergrant <grant@pkgsrc.org>2003-10-11 02:44:17 +0000
commitbeb87586beaefa2dbcab767ef3a88a1aeefe4fd1 (patch)
tree67b17bb421fbddd6abd4cc6a92238547e7f8d8b6 /mk/defs.SunOS.mk
parent93835fcfa7badf3d4d6b54565d0430c8c91a1d15 (diff)
downloadpkgsrc-beb87586beaefa2dbcab767ef3a88a1aeefe4fd1.tar.gz
don't hardcode the -DHasGcc2... flags to imake, pass them only if
we're actually using gcc on Solaris. fixes building of imake PIC code when the compiler is not gcc.
Diffstat (limited to 'mk/defs.SunOS.mk')
-rw-r--r--mk/defs.SunOS.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk
index 956f0519bad..d1ae454eb21 100644
--- a/mk/defs.SunOS.mk
+++ b/mk/defs.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.69 2003/09/24 07:40:03 grant Exp $
+# $NetBSD: defs.SunOS.mk,v 1.70 2003/10/11 02:44:17 grant Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -42,7 +42,7 @@ GZIP_CMD?= /usr/bin/gzip -nf ${GZIP}
HEAD?= /usr/bin/head
HOSTNAME_CMD?= /bin/hostname
ID?= /usr/xpg4/bin/id
-IMAKE?= ${X11BASE}/bin/imake -DHasGcc2=YES -DHasGcc2ForCplusplus=YES
+IMAKE?= ${X11BASE}/bin/imake ${IMAKEOPTS}
LDCONFIG?= /usr/bin/true
LN?= /usr/bin/ln
LS?= /usr/bin/ls