mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
5d960b51c6
NIX_CFLAGS_COMPILE set by the old patch is long not recognized by cc wrappers.
13 lines
354 B
Diff
13 lines
354 B
Diff
diff --git a/SConstruct b/SConstruct
|
|
index 4358a23..0d862e7 100644
|
|
--- a/SConstruct
|
|
+++ b/SConstruct
|
|
@@ -155,6 +155,7 @@ if sys.platform == 'win32':
|
|
env = Environment(variables=opts,
|
|
tools=('default', 'textfile',),
|
|
CPPPATH=['.', ],
|
|
+ ENV=os.environ,
|
|
)
|
|
|
|
env.Append(BUILDERS = {
|