From: Jakub Bogusz Date: Thu, 17 Oct 2019 15:38:49 +0000 (+0200) Subject: - gcc 7 also fails to compile WrapSigned::compute as constant X-Git-Tag: auto/th/mozjs68-68.7.0-1~5 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fmozjs68.git;a=commitdiff_plain;h=85a873a;ds=sidebyside - gcc 7 also fails to compile WrapSigned::compute as constant --- 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