summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorpetersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 01:00:57 +0000
committerpetersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 01:00:57 +0000
commit22f50091721da306901b408c2ccacc6407252863 (patch)
tree00050c9378f9dd8d4c596295e46e2ad8855c9033 /o3d
parent96d56c6e87c9639b94cf4241e40bf3b22d386eab (diff)
downloadchromium_src-22f50091721da306901b408c2ccacc6407252863.zip
chromium_src-22f50091721da306901b408c2ccacc6407252863.tar.gz
chromium_src-22f50091721da306901b408c2ccacc6407252863.tar.bz2
Added a compiler flag to include precompile.h on command line in core on unix builds.
Review URL: http://codereview.chromium.org/174485 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/core/build.scons1
1 files changed, 1 insertions, 0 deletions
diff --git a/o3d/core/build.scons b/o3d/core/build.scons
index 899d70e..4e5034e 100644
--- a/o3d/core/build.scons
+++ b/o3d/core/build.scons
@@ -140,6 +140,7 @@ if env['TARGET_PLATFORM'] == 'WINDOWS':
platform_inputs += [pch_obj]
else:
platform_inputs += ['cross/precompile.cc']
+ env.Append(CCFLAGS = [['-include', 'core/cross/precompile.h']])
# Based on the renderer requested, append the platform-specific source
if 'RENDERER_D3D9' in env['CPPDEFINES'] :