summaryrefslogtreecommitdiff
path: root/lang/gcc49
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-09-05 20:38:54 +0000
committerjperkin <jperkin@pkgsrc.org>2014-09-05 20:38:54 +0000
commitfea131e1426f291042bb83c539f61ba22c47de30 (patch)
tree8b05e1ac6dd8389b977cfee89099f28763637eaf /lang/gcc49
parent1236850021bc4fbb8e7f31f96b22b1ac42af779d (diff)
downloadpkgsrc-fea131e1426f291042bb83c539f61ba22c47de30.tar.gz
Disable gcc_cv_ld_as_needed on SunOS, it is enabled by default on 5.11
and newer but seems to have problems with specific compiler combinations where the build fails with multilib problems.
Diffstat (limited to 'lang/gcc49')
-rw-r--r--lang/gcc49/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/gcc49/Makefile b/lang/gcc49/Makefile
index f35c79886fe..bca4eb2dd31 100644
--- a/lang/gcc49/Makefile
+++ b/lang/gcc49/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2014/09/04 18:43:11 jperkin Exp $
+# $NetBSD: Makefile,v 1.2 2014/09/05 20:38:54 jperkin Exp $
GCC_PKGNAME= gcc49
.include "version.mk"
@@ -104,6 +104,8 @@ MAKE_ENV+= ac_cv_path_SED=${TOOLS_SED}
MAKE_ENV+= lt_cv_path_SED=${TOOLS_SED}
.if ${OPSYS} == "SunOS"
+# Causes multilib build problems with specific compiler combinations
+MAKE_ENV+= gcc_cv_ld_as_needed=no
# Determine whether to use binutils
. if exists(/usr/sfw/bin/gobjdump)
CONFIGURE_ENV+= OBJDUMP=/usr/sfw/bin/gobjdump