0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-04-12 16:23:07 +00:00

libtool: re-add patches

This commit is contained in:
Stefan Saraev
2014-12-12 20:18:42 +02:00
committed by Stephan Raue
parent 4801044f3c
commit aa9dac15b5
2 changed files with 26 additions and 0 deletions

@ -0,0 +1,13 @@
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
index 5eca4ae..23901ff 100644
--- a/build-aux/ltmain.sh
+++ b/build-aux/ltmain.sh
@@ -8333,7 +8333,7 @@ func_mode_link ()
fi
else
# We cannot seem to hardcode it, guess we'll fake it.
- add_dir=-L$libdir
+ #add_dir=-L$libdir
# Try looking first in the location we're being installed to.
if test -n "$inst_prefix_dir"; then
case $libdir in

@ -0,0 +1,13 @@
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
index 23901ff..df26ab5 100644
--- a/build-aux/ltmain.sh
+++ b/build-aux/ltmain.sh
@@ -7250,7 +7250,7 @@ func_mode_link ()
# -stdlib=* select c++ std lib with clang
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
- -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*|-fuse-ld=*)
func_quote_for_eval "$arg"
arg=$func_quote_for_eval_result
func_append compile_command " $arg"