aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2015-10-29 12:18:42 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-10-30 09:44:35 +0000
commit568c394497127b5ec221147e6df005f02a08dfe3 (patch)
tree13868ff33599e2cba815ee4f7151a5cd23995a6f /tools
parentbb23793da2ff3a0ea5a1ffb8444a626af15162c7 (diff)
Allow any includes on the Mac for now.
-- MOS_MIGRATED_REVID=106584736
Diffstat (limited to 'tools')
-rw-r--r--tools/cpp/CROSSTOOL11
1 files changed, 3 insertions, 8 deletions
diff --git a/tools/cpp/CROSSTOOL b/tools/cpp/CROSSTOOL
index cdd5128d72..1a046cce89 100644
--- a/tools/cpp/CROSSTOOL
+++ b/tools/cpp/CROSSTOOL
@@ -206,14 +206,9 @@ toolchain {
linker_flag: "-lstdc++"
linker_flag: "-undefined"
linker_flag: "dynamic_lookup"
- cxx_builtin_include_directory: "/usr/include"
- cxx_builtin_include_directory: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain"
- cxx_builtin_include_directory: "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs"
- cxx_builtin_include_directory: "/opt/local/include"
- cxx_builtin_include_directory: "/usr/local/include"
- cxx_builtin_include_directory: "/Library/Developer/CommandLineTools"
- cxx_builtin_include_directory: "/System/Library/Frameworks"
- cxx_builtin_include_directory: "/Library/Frameworks"
+ # TODO(ulfjack): This is wrong on so many levels. Figure out a way to auto-detect the proper
+ # setting from the local compiler, and also how to make incremental builds correct.
+ cxx_builtin_include_directory: "/"
tool_path { name: "gcov" path: "/usr/bin/gcov" }
tool_path { name: "ld" path: "/usr/bin/ld" }
tool_path { name: "nm" path: "/usr/bin/nm" }