aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/nosql/mongodb/forget-build-dependencies.patch
blob: 37b4c259f2acc686aa2a1ed1bb47615e273a178b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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.
--- a/site_scons/mongo/generators.py
+++ b/site_scons/mongo/generators.py
@@ -18,10 +18,7 @@ def default_buildinfo_environment_data():
         ('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,),
     )