2020-07-07 19:53:31 +01:00
|
|
|
# MongoDB keeps track of its build parameters, which tricks nix into
|
|
|
|
# keeping dependencies to build inputs in the final output.
|
|
|
|
# We remove the build flags from buildInfo data.
|
2018-05-03 08:42:24 +01:00
|
|
|
--- a/site_scons/mongo/generators.py
|
|
|
|
+++ b/site_scons/mongo/generators.py
|
|
|
|
@@ -18,10 +18,7 @@ def default_buildinfo_environment_data():
|
2016-04-15 18:01:14 +01:00
|
|
|
('distmod', '$MONGO_DISTMOD', True, True,),
|
|
|
|
('distarch', '$MONGO_DISTARCH', True, True,),
|
|
|
|
('cc', '$CC_VERSION', True, False,),
|
|
|
|
- ('ccflags', '$CCFLAGS', True, False,),
|
|
|
|
('cxx', '$CXX_VERSION', True, False,),
|
|
|
|
- ('cxxflags', '$CXXFLAGS', True, False,),
|
|
|
|
- ('linkflags', '$LINKFLAGS', True, False,),
|
|
|
|
('target_arch', '$TARGET_ARCH', True, True,),
|
|
|
|
('target_os', '$TARGET_OS', True, False,),
|
|
|
|
)
|