diff options
Diffstat (limited to 'm4/ghc_llvm_target.m4')
-rw-r--r-- | m4/ghc_llvm_target.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/ghc_llvm_target.m4 b/m4/ghc_llvm_target.m4 index 33150e9a8c..abb10d963e 100644 --- a/m4/ghc_llvm_target.m4 +++ b/m4/ghc_llvm_target.m4 @@ -43,3 +43,12 @@ AC_DEFUN([GHC_LLVM_TARGET], [ esac $5="$llvm_target_cpu-$llvm_target_vendor-$llvm_target_os" ]) + +# GHC_LLVM_TARGET_SET_VAR +# ----------------------- +# Sets the cannonical target variable. This stub exists so other macros can +# require it. +AC_DEFUN([GHC_LLVM_TARGET_SET_VAR], [ + AC_REQUIRE([FPTOOLS_SET_PLATFORMS_VARS]) + GHC_LLVM_TARGET([$target],[$target_cpu],[$target_vendor],[$target_os],[LlvmTarget]) +]) |