summaryrefslogtreecommitdiff
path: root/ltmain.sh
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-06-19 22:51:54 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-19 22:51:54 +0200
commita75ccaa9a52b79788eea5fccfe6c3fc3dfc5a81d (patch)
treefd9e7b4ead2ca237d5836c1ccceaf336310b39dc /ltmain.sh
parente33cb500a5cefab12062415dd12b6192b59e5ae5 (diff)
parent06b8b4b51519bfcf8d210eb199e2eab09e0c6a64 (diff)
Merge branch 'release/debian/3.1.9-1'debian/3.1.9-1
Diffstat (limited to 'ltmain.sh')
-rw-r--r--ltmain.sh21
1 files changed, 6 insertions, 15 deletions
diff --git a/ltmain.sh b/ltmain.sh
index c1ebe6e..8dab662 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -2415,17 +2415,10 @@ libtool_validate_options ()
# preserve --debug
test : = "$debug_cmd" || func_append preserve_args " --debug"
- case $host in
- # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
- # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
- *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
- # don't eliminate duplications in $postdeps and $predeps
- opt_duplicate_compiler_generated_deps=:
- ;;
- *)
- opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
- ;;
- esac
+ # Keeping compiler generated duplicates in $postdeps and $predeps is not
+ # harmful, and is necessary in a majority of systems that use it to satisfy
+ # symbol dependencies.
+ opt_duplicate_compiler_generated_deps=:
$opt_help || {
# Sanity checks first:
@@ -6523,7 +6516,7 @@ func_mode_link ()
old_convenience=
deplibs=
old_deplibs=
- compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"
+ compiler_flags=
linker_flags=
dllsearchpath=
lib_search_path=`pwd`
@@ -7272,12 +7265,10 @@ func_mode_link ()
# -tp=* Portland pgcc target processor selection
# --sysroot=* for sysroot support
# -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
- # -specs=* GCC specs files
# -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=*| \
- -specs=*)
+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
func_quote_for_eval "$arg"
arg=$func_quote_for_eval_result
func_append compile_command " $arg"