diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-05-24 01:20:13 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-05-24 01:20:13 +0400 |
commit | 735559f0da66a88d366eaef1d5c91c8285a58815 (patch) | |
tree | 7c44d17a8827e9b77d8ef06df0ca550182537bab /SConstruct | |
parent | a97904cbccffa8f138337c243e59ee8f9ffa8cba (diff) |
Fixes for cross-compilation:
- Set env['CC'] and env['CXX'] as default values for
CC and CXX variables. This fixes problem with overwriting
auto-guessed compilators when reading config files
- Added new prefix for mingw tools
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 30d8788f040..8593b7eb52f 100644 --- a/SConstruct +++ b/SConstruct @@ -182,7 +182,7 @@ if os.path.exists(userconfig): else: print B.bc.WARNING + userconfig + " not found, no user overrides" + B.bc.ENDC -opts = btools.read_opts(optfiles, B.arguments) +opts = btools.read_opts(env, optfiles, B.arguments) opts.Update(env) if not env['BF_FANCY']: |