diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 00:39:44 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 00:39:44 +0000 |
commit | bda05798c0609582075a3b872c37ad56021920c4 (patch) | |
tree | 8cee1fbe5c54dfc67aa9eba4a0543170d92a5cb7 /webkit/SConscript.javascriptcore_pcre | |
parent | 023a54f549d447c0845271440e9918ce243445f8 (diff) | |
download | chromium_src-bda05798c0609582075a3b872c37ad56021920c4.zip chromium_src-bda05798c0609582075a3b872c37ad56021920c4.tar.gz chromium_src-bda05798c0609582075a3b872c37ad56021920c4.tar.bz2 |
Make pcre compile under Linux with SCons.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/SConscript.javascriptcore_pcre')
-rw-r--r-- | webkit/SConscript.javascriptcore_pcre | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/webkit/SConscript.javascriptcore_pcre b/webkit/SConscript.javascriptcore_pcre index 9e849c2..0ee9784 100644 --- a/webkit/SConscript.javascriptcore_pcre +++ b/webkit/SConscript.javascriptcore_pcre @@ -37,18 +37,21 @@ env.Prepend( CPPPATH = [ '$WEBKIT_DIR/port/JavaScriptCore', '$WEBKIT_DIR/port/JavaScriptCore/pcre', - ], - CCFLAGS = [ - '/TP', - '/wd4127', - '/wd4355', - '/wd4510', - '/wd4512', - '/wd4610', - '/wd4706', - '/wd4800', - ], -) + ]) + +if env['PLATFORM'] == 'win32': + env.Prepend( + CCFLAGS = [ + '/TP', + '/wd4127', + '/wd4355', + '/wd4510', + '/wd4512', + '/wd4610', + '/wd4706', + '/wd4800', + ], + ) dir = env.Dir('$PCRE_DIR') |