aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/nosql/mongodb/forget-build-dependencies-4-2.patch
blob: 6d65238f22ab61a94be3e02bda060504ec335117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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
@@ -33,30 +33,12 @@ def default_buildinfo_environment_data():
             True,
             False,
         ),
-        (
-            'ccflags',
-            '$CCFLAGS',
-            True,
-            False,
-        ),
         (
             'cxx',
             '$CXX_VERSION',
             True,
             False,
         ),
-        (
-            'cxxflags',
-            '$CXXFLAGS',
-            True,
-            False,
-        ),
-        (
-            'linkflags',
-            '$LINKFLAGS',
-            True,
-            False,
-        ),
         (
             'target_arch',
             '$TARGET_ARCH',