13
0

add explanatory comment for future historians

This commit is contained in:
Paul Davis 2014-10-07 10:57:08 -04:00
parent a7da906a79
commit 6794a4d020

View File

@ -208,6 +208,8 @@ def set_compiler_flags (conf,opt):
cxx_flags.append('-std=c++11') cxx_flags.append('-std=c++11')
if platform == "darwin": if platform == "darwin":
cxx_flags.append('--stdlib=libstdc++') cxx_flags.append('--stdlib=libstdc++')
# Mavericks and later changed the syntax to be used when including Carbon headers,
# from requiring a full path to requiring just the header name.
cxx_flags.append('-DCARBON_FLAT_HEADERS') cxx_flags.append('-DCARBON_FLAT_HEADERS')
linker_flags.append('--stdlib=libstdc++') linker_flags.append('--stdlib=libstdc++')
# Prevents visibility issues in standard headers # Prevents visibility issues in standard headers