OSDN Git Service

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 a6cf5f8..bb67e46 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") {