diff options
author | Remi Collet <remi@remirepo.net> | 2025-02-14 11:55:15 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-02-14 11:55:15 +0100 |
commit | 1336c9f8984942fbc3782f1e6db0a849238ce970 (patch) | |
tree | ec8bd0b9ee6df7beac6e76c489ab3b87f1976314 /njs.spec | |
parent | eee4ef617924054a2d540365770ca8ab249aebfb (diff) |
https://github.com/nginx/njs/issues/857
workaround build failure with GCC 15 reported as
https://github.com/nginx/njs/issues/857
Diffstat (limited to 'njs.spec')
-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 |