summaryrefslogtreecommitdiffstats
path: root/gears/SConscript.googleurl
diff options
context:
space:
mode:
Diffstat (limited to 'gears/SConscript.googleurl')
-rw-r--r--gears/SConscript.googleurl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gears/SConscript.googleurl b/gears/SConscript.googleurl
index 771c0e7..c4fea18 100644
--- a/gears/SConscript.googleurl
+++ b/gears/SConscript.googleurl
@@ -24,13 +24,15 @@ env.Append(
],
)
-if env['PLATFORM'] == 'win32':
+if env['OS'] == 'win32':
env.Append(
CCFLAGS = [
# '/TP',
# '/J',
],
)
+elif env['OS'] == 'linux':
+ env.Append(CCFLAGS = '-Wno-char-subscripts')
input_files = [
'$GURL_DIR/src/gurl.cc',