From 1da4cf10b52b888ccb9ae43c7d523d075b509331 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Tue, 7 May 2013 22:01:37 +0200 Subject: [Embtk]: Give ability to specify default target ABI at configure time Signed-off-by: Abdoulaye Walsimou Gaye --- lib/Support/Windows/Host.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/Support/Windows/Host.inc') diff --git a/lib/Support/Windows/Host.inc b/lib/Support/Windows/Host.inc index e48021ef6d..9ec5e0a348 100644 --- a/lib/Support/Windows/Host.inc +++ b/lib/Support/Windows/Host.inc @@ -52,3 +52,11 @@ std::string sys::getDefaultTargetHashStyle() { bool sys::hasDefaultTargetHashStyle() { return getDefaultTargetHashStyle() != ""; } + +std::string sys::getDefaultTargetAbi() { + return LLVM_DEFAULT_TARGET_ABI; +} + +bool sys::hasDefaultTargetAbi() { + return getDefaultTargetAbi() != ""; +} -- cgit v1.2.3