aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/cpp/CROSSTOOL
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2016-05-17 08:29:50 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-05-17 16:17:44 +0000
commitb86809eea78cd8ac07f6086a98ea7d781f367726 (patch)
treecac51750205433026c9bd5d7e822aa88588f75ae /tools/cpp/CROSSTOOL
parent45d48bf1fe7503acbbb0c095822b7f8f558881e8 (diff)
Add -headerpad_max_install_names to darwin CROSSTOOL linker flags.
Fixes #1269 -- MOS_MIGRATED_REVID=122502116
Diffstat (limited to 'tools/cpp/CROSSTOOL')
-rw-r--r--tools/cpp/CROSSTOOL1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cpp/CROSSTOOL b/tools/cpp/CROSSTOOL
index 74a8d4e6de..5a23b587ba 100644
--- a/tools/cpp/CROSSTOOL
+++ b/tools/cpp/CROSSTOOL
@@ -217,6 +217,7 @@ toolchain {
linker_flag: "-lstdc++"
linker_flag: "-undefined"
linker_flag: "dynamic_lookup"
+ linker_flag: "-headerpad_max_install_names"
# 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: "/"