]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Accept clang's -stdlib linker flag.
authorTitus von Boxberg <titus@v9g.de>
Sun, 19 Feb 2012 21:33:48 +0000 (15:33 -0600)
committerPeter O'Gorman <peter@pogma.com>
Sun, 19 Feb 2012 21:33:48 +0000 (15:33 -0600)
build-aux/ltmain.m4sh: Don't drop the -stdlib= flag.

build-aux/ltmain.m4sh

index 59164236acdb5d91200c8fe87f981104abf82021..6775bdec5fb2d71aad8ed87ef3254aac0ab6f484 100644 (file)
@@ -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"