summaryrefslogtreecommitdiff
path: root/libltdl/config/ltmain.m4sh
diff options
context:
space:
mode:
Diffstat (limited to 'libltdl/config/ltmain.m4sh')
-rw-r--r--libltdl/config/ltmain.m4sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index a7d36ccf..80693348 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4560,6 +4560,12 @@ func_mode_link ()
prev=
continue
;;
+ mllvm)
+ # Clang does not use LLVM to link, so we can simply discard any
+ # '-mllvm $arg' options when doing the link step.
+ prev=
+ continue
+ ;;
objectlist)
if test -f "$arg"; then
save_arg=$arg
@@ -4898,6 +4904,11 @@ func_mode_link ()
continue
;;
+ -mllvm)
+ prev=mllvm
+ continue
+ ;;
+
-module)
module=yes
continue