Mesa (master): scons: Need c99 also when cross compiling.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Fri Feb 11 20:09:57 UTC 2011
Module: Mesa
Branch: master
Commit: 6826d58bbf21ea27e7601fe5dfeca07a91bee55d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6826d58bbf21ea27e7601fe5dfeca07a91bee55d
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Feb 11 17:59:36 2011 +0000
scons: Need c99 also when cross compiling.
---
SConstruct | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/SConstruct b/SConstruct
index 19d8b13..96dc09a 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(
More information about the mesa-commit
mailing list