diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-08-21 20:17:04 -0500 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2012-10-02 21:05:15 +0700 |
commit | 59f8a3a6e1a26d501e5865f7611d8828aac5579c (patch) | |
tree | 83eee5fee3325aa57d850eb8495991685643beec | |
parent | f2a640f7e03e5dcf1510833a0e1e4991032b5f96 (diff) | |
download | libtool-59f8a3a6e1a26d501e5865f7611d8828aac5579c.tar.gz |
Pass through -g* so that debugging information is not dropped
* ltmain.m4sh (func_mode_link): Pass through -g*.
-rw-r--r-- | build-aux/ltmain.m4sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 77a0b5d1..70bb861f 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -5092,11 +5092,11 @@ func_mode_link () # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support - # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -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*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*) + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" |