summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-10-12 15:48:40 +0000
committerhans <hans@pkgsrc.org>2011-10-12 15:48:40 +0000
commit68020ad81b377f55283ef6b7aa5e98caca6b1867 (patch)
treeacaf7c7ad02434285a21e8de860071a1d090c943 /lang
parent78d232996efdf4fa04c19a17ae9a1e974037dc20 (diff)
downloadpkgsrc-68020ad81b377f55283ef6b7aa5e98caca6b1867.tar.gz
To decide whether the visibility attribute can be supported on SunOS,
configure needs objdump.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc44/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile
index 528472e15cf..1683c8dc035 100644
--- a/lang/gcc44/Makefile
+++ b/lang/gcc44/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2011/10/04 14:06:47 hans Exp $
+# $NetBSD: Makefile,v 1.27 2011/10/12 15:48:40 hans Exp $
DISTNAME= gcc-${GCC_VERSION}
PKGNAME= gcc44-${GCC_VERSION}
@@ -36,6 +36,7 @@ UNLIMIT_RESOURCES+= stacksize
# Determine whether to use binutils
.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= OBJDUMP=/usr/sfw/bin/gobjdump
CONFIGURE_ARGS+= --without-gnu-ld --with-ld=/usr/ccs/bin/ld
. if !exists(/usr/sfw/bin/gas)
CONFIGURE_ARGS+= --without-gnu-as --with-as=/usr/ccs/bin/as