From 85a873a6afafecd0028dc29ffab0fd526ccfa41f Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 17 Oct 2019 17:38:49 +0200 Subject: [PATCH] - gcc 7 also fails to compile WrapSigned::compute as constant --- mozjs60.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozjs60.spec b/mozjs60.spec index 9f0e12d..5c9cfb4 100644 --- a/mozjs60.spec +++ b/mozjs60.spec @@ -18,8 +18,8 @@ Patch2: include-configure-script.patch Patch3: x32.patch URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey BuildRequires: autoconf2_13 >= 2.13 -# "TestWrappingOperations.cpp:27:1: error: non-constant condition for static assertion" with -fwrapv on gcc 6 -%{?with_tests:BuildRequires: gcc-c++ >= 6:7} +# "TestWrappingOperations.cpp:27:1: error: non-constant condition for static assertion" with -fwrapv on gcc 6 and 7 +%{?with_tests:BuildRequires: gcc-c++ >= 6:8} BuildRequires: libicu-devel >= 59.1 BuildRequires: libstdc++-devel >= 6:4.4 BuildRequires: nspr-devel >= 4.9.2 -- 2.43.0