summaryrefslogtreecommitdiff
path: root/external/nss/fix-cc-detect-with-ccache.patch.0
diff options
context:
space:
mode:
Diffstat (limited to 'external/nss/fix-cc-detect-with-ccache.patch.0')
-rw-r--r--external/nss/fix-cc-detect-with-ccache.patch.011
1 files changed, 11 insertions, 0 deletions
diff --git a/external/nss/fix-cc-detect-with-ccache.patch.0 b/external/nss/fix-cc-detect-with-ccache.patch.0
new file mode 100644
index 000000000000..6c3ebcfb77ed
--- /dev/null
+++ b/external/nss/fix-cc-detect-with-ccache.patch.0
@@ -0,0 +1,11 @@
+--- ./nss/coreconf/check_cc.py.sav 2020-03-20 17:58:57.275605539 +0100
++++ ./nss/coreconf/check_cc.py 2020-03-20 18:10:56.053688945 +0100
+@@ -11,7 +11,7 @@ def main():
+ cc = os.environ.get('CC', 'cc')
+ try:
+ cc_is_arg = sys.argv[1] in subprocess.check_output(
+- [cc, '--version'], universal_newlines=True)
++ cc.split(' ') + ['--version'], universal_newlines=True)
+ except OSError:
+ # We probably just don't have CC/cc.
+ cc_is_arg = False