Subject: [PATCH] Fix build of mozjs@17

From: Damien Cassou <[email-masked]>
Date: Sun, 01 Mar 2020 09:23:40 +0100

mozjs@17 doesn't build. This patch fixes that.

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
>From a81f42fe9b8174d4f4789fe201a050e5f7cab4f6 Mon Sep 17 00:00:00 2001
From: Damien Cassou <[email-masked]>
Date: Sun, 1 Mar 2020 09:13:15 +0100
Subject: [PATCH] gnu: mozjs: Fix build

* gnu/packages/gnuzilla.scm (mozjs): Add -fpermissive to fix the build.
---
 gnu/packages/gnuzilla.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index bb2a4d60dc..fea50625b6 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -116,6 +116,7 @@
      `(;; XXX: parallel build fails, lacking:
        ;;   mkdir -p "system_wrapper_js/"
        #:parallel-build? #f
+       #:make-flags '("CXXFLAGS=-fpermissive")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'delete-timedout-test
-- 
2.24.1