Lines 5-11
Link Here
|
5 |
BoolVariable('crossmingw', 'Set to 1 for crosscompile with mingw', 0) |
5 |
BoolVariable('crossmingw', 'Set to 1 for crosscompile with mingw', 0) |
6 |
) |
6 |
) |
7 |
-env = Environment(options = opts) |
7 |
-env = Environment(options = opts) |
8 |
+env = Environment(options = opts, CC = Split(os.environ['CC'])) |
8 |
+env = Environment(options = opts, ENV=os.environ, CC = Split(os.environ['CC'])) |
9 |
Help(opts.GenerateHelpText(env)) |
9 |
Help(opts.GenerateHelpText(env)) |
10 |
|
10 |
|
11 |
pkg_flags="--cflags --libs" |
11 |
pkg_flags="--cflags --libs" |