diff options
author | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-05 20:26:13 +0000 |
---|---|---|
committer | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-05 20:26:13 +0000 |
commit | ecb3df1cea873736bab78043a3f8c7af65621dba (patch) | |
tree | 8682489418520b25bd84475a46cb23d55b48a5bf /o3d/core/core.gyp | |
parent | 0f59c4c1510fc33fbd30310704c10b08b67cda7d (diff) | |
download | chromium_src-ecb3df1cea873736bab78043a3f8c7af65621dba.zip chromium_src-ecb3df1cea873736bab78043a3f8c7af65621dba.tar.gz chromium_src-ecb3df1cea873736bab78043a3f8c7af65621dba.tar.bz2 |
Fixed build problem on Mac OS X 10.6. precompile.h is inferred by name
to be a C file, but it includes C++ headers like <vector> and
<algorithm>. In order for the compiler to find these headers it was
necessary to force it to treat this as a C++ header. This fix was
determined to be necessary on multiple machines running Xcode 3.2.1.
It has also been tested on 10.5 with no ill effects.
Review URL: http://codereview.chromium.org/572026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38235 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core/core.gyp')
-rw-r--r-- | o3d/core/core.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/o3d/core/core.gyp b/o3d/core/core.gyp index 218a010..fb2f04d 100644 --- a/o3d/core/core.gyp +++ b/o3d/core/core.gyp @@ -330,6 +330,7 @@ }, 'xcode_settings': { 'GCC_PREFIX_HEADER': 'cross/precompile.h', + 'GCC_PFE_FILE_C_DIALECTS': 'c++', }, }, ], @@ -348,6 +349,7 @@ { 'xcode_settings': { 'GCC_PREFIX_HEADER': 'cross/precompile.h', + 'GCC_PFE_FILE_C_DIALECTS': 'c++', }, }, ], |