diff options
author | sbd <sbd@pkgsrc.org> | 2013-04-21 08:56:34 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2013-04-21 08:56:34 +0000 |
commit | 29611290a1c01bc93787622d9e563cde737c522c (patch) | |
tree | 47580f57cfbf39e329916f6fd7374a1aeca317fe /lang | |
parent | cd15e1000315198e76bcbdf007e3d7d93edee4d0 (diff) | |
download | pkgsrc-29611290a1c01bc93787622d9e563cde737c522c.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*} |