diff options
author | sbd <sbd@pkgsrc.org> | 2013-04-21 09:05:01 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2013-04-21 09:05:01 +0000 |
commit | c842b473370dd85f1000b068a77b6db47104b73a (patch) | |
tree | 6fa8d30494ea443b8a9b7a5ac4412d5069327d5c /lang/gcc48 | |
parent | baf2ae2b78054055b7b7f67c6a681f4367ab851b (diff) | |
download | pkgsrc-c842b473370dd85f1000b068a77b6db47104b73a.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/gcc48')
-rw-r--r-- | lang/gcc48/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 129b4e91d26..a03af8f65a4 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2013/04/19 16:34:47 adam Exp $ +# $NetBSD: Makefile,v 1.6 2013/04/21 09:05:01 sbd Exp $ GCC_PKGNAME= gcc48 .include "version.mk" @@ -43,6 +43,9 @@ UNLIMIT_RESOURCES+= stacksize 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*} |