OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f1cc77
)
Add the --host-target option.
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 22 Apr 2007 05:05:36 +0000
(
05:05
+0000)
committer
Reid 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
patch
|
blob
|
history
diff --git
a/tools/llvm-config/llvm-config.in.in
b/tools/llvm-config/llvm-config.in.in
index
a6cf5f8
..
bb67e46
100644
(file)
--- 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") {