From: José Fonseca Date: Fri, 11 Feb 2011 17:59:36 +0000 (+0000) Subject: scons: Need c99 also when cross compiling. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6826d58bbf21ea27e7601fe5dfeca07a91bee55d;p=mesa.git scons: Need c99 also when cross compiling. --- diff --git a/SConstruct b/SConstruct index 19d8b13ccc9..96dc09a4220 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(