diff options
author | sbd <sbd> | 2013-04-21 08:56:34 +0000 |
---|---|---|
committer | sbd <sbd> | 2013-04-21 08:56:34 +0000 |
commit | fcf8587a334aa674b6a0cfadded585e9342afbfa (patch) | |
tree | 47580f57cfbf39e329916f6fd7374a1aeca317fe | |
parent | efc0a415835403fcac4f3dde6783e1c23bb48ac6 (diff) | |
download | pkgsrc-fcf8587a334aa674b6a0cfadded585e9342afbfa.tar.gz |
In some cases LINKER_RPATH_FLAG needs a trailing space so that there will be
a space between the flag and its argument.
-rw-r--r-- | lang/gcc47/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index 470248e2804..770c73e7b6e 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2013/04/18 07:58:33 sbd Exp $ +# $NetBSD: Makefile,v 1.22 2013/04/21 08:56:34 sbd Exp $ GCC_PKGNAME= gcc47 .include "version.mk" @@ -48,6 +48,9 @@ SUBST_VARS.vars= GCC_TARGET_MACHINE LANGS= c +# In some cases LINKER_RPATH_FLAG needs a trailing space. +LINKER_RPATH_FLAG:= ${LINKER_RPATH_FLAG:S/-rpath/& /} + ## The Library rpath to use in end programs. LDFLAGS_FOR_TARGET= ${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*} |