summaryrefslogtreecommitdiff
path: root/lang/gcc-aux
diff options
context:
space:
mode:
authormarino <marino>2014-01-07 02:26:25 +0000
committermarino <marino>2014-01-07 02:26:25 +0000
commitf20ad2200b69d1a5d61cbfea65a1a0e5d21efd1c (patch)
tree55b32a30b85a03f010c05b6dbf25776753d11733 /lang/gcc-aux
parent3b9dad6e8c9c17cb180d9f38d3db52c4cea856b2 (diff)
downloadpkgsrc-f20ad2200b69d1a5d61cbfea65a1a0e5d21efd1c.tar.gz
lang/gcc-aux: Establish RPATH for binaries
This should fix the Ada compiler on NetBSD 6.99 / pure clang and allow the Ada packages to build on Joerg's bulk runs.
Diffstat (limited to 'lang/gcc-aux')
-rw-r--r--lang/gcc-aux/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/gcc-aux/Makefile b/lang/gcc-aux/Makefile
index eaad37880ba..96475837624 100644
--- a/lang/gcc-aux/Makefile
+++ b/lang/gcc-aux/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2013/12/30 01:34:43 marino Exp $
+# $NetBSD: Makefile,v 1.14 2014/01/07 02:26:25 marino Exp $
#
PKGNAME= gcc-aux-${SNAPSHOT}
@@ -157,6 +157,7 @@ EXTRA_LLP=:${BOOTSTRAP_PREFIX}/lib
# establish ada-aware compiler for use
MY_CONFIGURE_ENV+= CC=${FULL_GNATGCC}
MY_CONFIGURE_ENV+= PATH=${FULL_PATH}
+MY_CONFIGURE_ENV+= LDFLAGS=${COMPILER_RPATH_FLAG:Q}${PKG_PREFIX:Q}/lib
MY_MAKE_ENV= PATH=${FULL_PATH}
MY_MAKE_ENV+= ICONVPREFIX=${PREFIX}
MY_MAKE_ENV+= LD_LIBRARY_PATH=${BUILDDIR}/gcc${EXTRA_LLP}