aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
-rwxr-xr-xsparsec1
1 files changed, 1 insertions, 0 deletions
diff --git a/sparsec b/sparsec
index bafe2da5..3f9b60c6 100755
--- a/sparsec
+++ b/sparsec
@@ -39,6 +39,7 @@ case "$(uname -s)" in
*CYGWIN*)
# cygwin uses the sjlj (setjmp-longjmp) exception model
LLC_ARCH_OPTS="-exception-model=sjlj"
+ LLC_ARCH_OPTS="$LLC_ARCH_OPTS -mtriple=$(llvm-config --host-target)"
;;
*)
;;