[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix clang linking if flags contain '-mllvm $arg'.
From: |
Johannes Obermayr |
Subject: |
[PATCH] Fix clang linking if flags contain '-mllvm $arg'. |
Date: |
Wed, 26 Dec 2012 05:09:14 +0100 |
Fixes:
http://llvm.org/bugs/show_bug.cgi?id=14716
---
build-aux/ltmain.in | 15 +++++++++++++++
1 Datei geändert, 15 Zeilen hinzugefügt(+)
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 9e790db..acf454d 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -4723,6 +4723,16 @@ func_mode_link ()
prev=
continue
;;
+ mllvm)
+# Currently none args known to be supported by clang linker
+# if test true && echo "$(CC)" | grep -e "clang" >/dev/null; then
+# compile_command+=" -mllvm $arg"
+# finalize_command+=" -mllvm $arg"
+# compile_command+=" -mllvm $arg"
+# fi
+ prev=
+ continue
+ ;;
objectlist)
if test -f "$arg"; then
save_arg=$arg
@@ -5061,6 +5071,11 @@ func_mode_link ()
continue
;;
+ -mllvm)
+ prev=mllvm
+ continue
+ ;;
+
-module)
module=yes
continue
--
1.7.10.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Fix clang linking if flags contain '-mllvm $arg'.,
Johannes Obermayr <=