aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/cpp
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-03-12 11:00:44 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-03-13 14:17:08 +0000
commite1349ec1f3151cf50005584dd3f2024ea49ecd67 (patch)
tree25dcd1a458dbe2f1549b3b9cf16fc70ce7e540f4 /tools/cpp
parenta6272912cab0d33e7094b4572b61686a7c1a8879 (diff)
Defaulted cpu to the host cpu
This should remove the needs for the --cpu=darwin flag under darwin. Bazel build are now using the host cpu too. This commit also fix the host cpu detection. The host cpu detection was too late and and some corner case was not really working with configurable attributes. It is now done as the default value for the --host_cpu flag. -- MOS_MIGRATED_REVID=88427551
Diffstat (limited to 'tools/cpp')
-rw-r--r--tools/cpp/CROSSTOOL2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cpp/CROSSTOOL b/tools/cpp/CROSSTOOL
index 7287bc49ba..87b81d3637 100644
--- a/tools/cpp/CROSSTOOL
+++ b/tools/cpp/CROSSTOOL
@@ -1,6 +1,6 @@
major_version: "local"
minor_version: ""
-default_target_cpu: "k8"
+default_target_cpu: "same_as_host"
default_toolchain {
cpu: "k8"
toolchain_identifier: "local_linux"