summaryrefslogtreecommitdiffstats
path: root/o3d/compiler/technique/technique.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/compiler/technique/technique.gyp')
-rw-r--r--o3d/compiler/technique/technique.gyp13
1 files changed, 12 insertions, 1 deletions
diff --git a/o3d/compiler/technique/technique.gyp b/o3d/compiler/technique/technique.gyp
index a750038..3c409073 100644
--- a/o3d/compiler/technique/technique.gyp
+++ b/o3d/compiler/technique/technique.gyp
@@ -66,8 +66,19 @@
},
},
'xcode_settings': {
- 'OTHER_CFLAGS': ['-x', 'c++'],
+ 'OTHER_CFLAGS': [
+ '-x', 'c++',
+ ],
},
+ 'conditions': [
+ ['OS == "linux"',
+ {
+ 'cflags': [
+ '-x', 'c++',
+ ],
+ }
+ ],
+ ],
},
{
'target_name': 'o3dTechniqueTest',