unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39851: [PATCH] Fix build of mozjs@17
@ 2020-03-01  8:23 Damien Cassou
  2020-03-01 13:44 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Damien Cassou @ 2020-03-01  8:23 UTC (permalink / raw)
  To: 39851

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-mozjs-Fix-build.patch --]
[-- Type: text/x-patch, Size: 803 bytes --]

From a81f42fe9b8174d4f4789fe201a050e5f7cab4f6 Mon Sep 17 00:00:00 2001
From: Damien Cassou <damien@cassou.me>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-01 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-01  8:23 bug#39851: [PATCH] Fix build of mozjs@17 Damien Cassou
2020-03-01 13:44 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).