mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-24 10:44:15 +08:00
scons: Avoid depending on scons 2.0 in general.
This commit is contained in:
parent
2a2b156ea5
commit
9f9d6481de
@ -153,7 +153,9 @@ if env['crosscompile'] and env['platform'] != 'embedded':
|
||||
if host_env['msvc']:
|
||||
host_env.Append(CPPPATH = ['#include/c99'])
|
||||
|
||||
Export(env = host_env)
|
||||
target_env = env
|
||||
env = host_env
|
||||
Export('env')
|
||||
|
||||
SConscript(
|
||||
'src/SConscript',
|
||||
@ -161,6 +163,8 @@ if env['crosscompile'] and env['platform'] != 'embedded':
|
||||
duplicate = 0, # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
|
||||
)
|
||||
|
||||
env = target_env
|
||||
|
||||
Export('env')
|
||||
|
||||
#######################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user