diff options
-rw-r--r-- | njs.spec | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -30,7 +30,7 @@ Name: %{project} Summary: NGINX JavaScript Version: 0.8.9 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD-2-Clause AND MIT URL: https://github.com/%{gh_owner}/%{project} @@ -93,6 +93,8 @@ pushd quickjs CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %make_build libquickjs.a popd +export CFLAGS="%{optflags} -Wno-error=unterminated-string-initialization" + ./configure \ --with-quickjs \ --cc-opt="$RPM_OPT_FLAGS -Iquickjs" \ @@ -159,6 +161,10 @@ make test %{?_smp_mflags} %changelog +* Fri Feb 14 2025 Remi Collet <remi@remirepo.net> - 0.8.9-2 +- workaround build failure with GCC 15 reported as + https://github.com/nginx/njs/issues/857 + * Tue Jan 14 2025 Remi Collet <remi@remirepo.net> - 0.8.9-1 - update to 0.8.9 |