From 3b87d6a7b57277a17e75ec83759ea95e0579e219 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 22 Apr 2007 05:05:36 +0000 Subject: Add the --host-target option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36326 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-config/llvm-config.in.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/llvm-config/llvm-config.in.in') diff --git a/tools/llvm-config/llvm-config.in.in b/tools/llvm-config/llvm-config.in.in index a6cf5f8273..bb67e46584 100644 --- a/tools/llvm-config/llvm-config.in.in +++ b/tools/llvm-config/llvm-config.in.in @@ -128,6 +128,8 @@ foreach my $arg (@ARGV) { $has_opt = 1; print join(' ', name_map_entries), "\n"; } elsif ($arg eq "--targets-built") { $has_opt = 1; print join(' ', @TARGETS_BUILT), "\n"; + } elsif ($arg eq "--host-target") { + $has_opt = 1; print "$TARGET_TRIPLE\n"; } elsif ($arg eq "--build-mode") { $has_opt = 1; print "$LLVM_BUILDMODE\n"; } elsif ($arg eq "--obj-root") { -- cgit v1.2.3