Accepting request 1266775 from Base:System
add -std=gnu17 to CFLAGS to fix gcc15 compile time error (forwarded request 1266626 from hsk17) OBS-URL: https://build.opensuse.org/request/show/1266775 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m4?expand=0&rev=43
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 31 16:12:21 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
- add -std=gnu17 to CFLAGS to fix gcc15 compile time error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 19 15:28:26 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
|
8
m4.spec
8
m4.spec
@@ -52,13 +52,13 @@ cp -a /usr/lib/rpm/config.{sub,guess} build-aux/
|
||||
gl_cv_func_printf_directive_n=yes \
|
||||
gl_cv_func_printf_infinite_long_double=yes
|
||||
%if %{do_profiling} && !0%{?want_reproducible_builds}
|
||||
%make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||
%make_build CFLAGS="%{optflags} %{cflags_profile_generate} -std=gnu17"
|
||||
# run profiling check sequentially to have it reproducible
|
||||
%make_build -j1 check CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||
%make_build -j1 check CFLAGS="%{optflags} %{cflags_profile_generate} -std=gnu17"
|
||||
%make_build clean
|
||||
%make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
|
||||
%make_build CFLAGS="%{optflags} %{cflags_profile_feedback} -std=gnu17"
|
||||
%else
|
||||
%make_build
|
||||
%make_build CFLAGS="%{optflags} -std=gnu17"
|
||||
%endif
|
||||
|
||||
%check
|
||||
|
Reference in New Issue
Block a user