Add the --host-target option.
authorReid Spencer <rspencer@reidspencer.com>
Sun, 22 Apr 2007 05:05:36 +0000 (05:05 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 22 Apr 2007 05:05:36 +0000 (05:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36326 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-config/llvm-config.in.in

index a6cf5f82736904e2540388d40ad97400df4e99d4..bb67e46584e6c6127143877c1d1817a294bdc44a 100644 (file)
@@ -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") {