diff options
author | Titus von Boxberg <titus@v9g.de> | 2012-02-19 15:33:48 -0600 |
---|---|---|
committer | Peter O'Gorman <peter@pogma.com> | 2012-02-19 15:33:48 -0600 |
commit | c0c49f289f22ae670066657c60905986da3b555f (patch) | |
tree | 1319110afda80effa35a171c39f6c1323999e40c | |
parent | 96cc27eff32481be89bca4e37f43a11bf953a326 (diff) | |
download | libtool-c0c49f289f22ae670066657c60905986da3b555f.tar.gz |
Accept clang's -stdlib linker flag.
build-aux/ltmain.m4sh: Don't drop the -stdlib= flag.
-rw-r--r-- | build-aux/ltmain.m4sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 59164236..6775bdec 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -5091,9 +5091,10 @@ func_mode_link () # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -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) + -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" |