diff options
author | sbd <sbd> | 2013-04-21 08:56:34 +0000 |
---|---|---|
committer | sbd <sbd> | 2013-04-21 08:56:34 +0000 |
commit | 6ad7f50fc3efc2a9dbc91c8a3389fe3b9a448d14 (patch) | |
tree | 47580f57cfbf39e329916f6fd7374a1aeca317fe /lang | |
parent | 790f7dd32d15da9eb277e41be8a89827fadceb06 (diff) | |
download | pkgsrc-6ad7f50fc3efc2a9dbc91c8a3389fe3b9a448d14.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.
Diffstat (limited to 'lang')
-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*} |