summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-02-11 17:59:36 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-02-11 20:09:26 +0000
commit6826d58bbf21ea27e7601fe5dfeca07a91bee55d (patch)
tree80a2914477fc445f51795005b664bfcb0f56ed29 /SConstruct
parent982609f4cf2afc4e0afd450aa24907986bca41ab (diff)
scons: Need c99 also when cross compiling.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 19d8b13ccc..96dc09a422 100644
--- a/SConstruct
+++ b/SConstruct
@@ -150,6 +150,9 @@ if env['crosscompile'] and env['platform'] != 'embedded':
host_env['hostonly'] = True
assert host_env['crosscompile'] == False
+ if host_env['msvc']:
+ host_env.Append(CPPPATH = ['#include/c99'])
+
Export(env = host_env)
SConscript(