summaryrefslogtreecommitdiffstats
path: root/development/gcc5
diff options
context:
space:
mode:
author Eric Hameleers2017-07-13 17:05:02 +0200
committer Matteo Bernardini2021-04-18 12:22:51 +0200
commit71e30bdc970908d251aff5d90f9805a57506e384 (patch)
treee2276a0921d141f721f1c60f9800684ce20417bf /development/gcc5
parent11a7268d91b74b8c499e608dc7ce8676f3cd147b (diff)
downloadslackbuilds-71e30bdc970908d251aff5d90f9805a57506e384.tar.gz
development/gcc5: fix the .la file filtering
This SlackBuild script uses a different temporary location to compile the sources than the original Slackware version. Signed-off-by: Eric Hameleers <alien@slackware.com> Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/gcc5')
-rw-r--r--development/gcc5/gcc5.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/gcc5/gcc5.SlackBuild b/development/gcc5/gcc5.SlackBuild
index 955c14b302..007936359d 100644
--- a/development/gcc5/gcc5.SlackBuild
+++ b/development/gcc5/gcc5.SlackBuild
@@ -520,7 +520,7 @@ cat $CWD/libgcj-5.pc \
# Filter all .la files (thanks much to Mark Post for the sed script):
( cd $TMP
for file in $(find $PKG -type f -name "*.la") ; do
- cat $file | sed -e 's%-L/gcc-[[:graph:]]* % %g' > $TMP/tmp-la-file
+ cat $file | sed -e 's%-L'${TMP}'[[:graph:]]* % %g' > $TMP/tmp-la-file
cat $TMP/tmp-la-file > $file
done
rm $TMP/tmp-la-file