7 Commits

3 changed files with 17 additions and 2 deletions

View File

@@ -4,3 +4,4 @@ targettype x86 package bash
+^/bin/bash$ +^/bin/bash$
+^/bin/sh$ +^/bin/sh$
prereq -glibc-x86 prereq -glibc-x86

View File

@@ -1,3 +1,15 @@
This is all wrong and weird
-------------------------------------------------------------------
Sun Apr 20 20:27:08 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- add -std=gnu17 to CFLAGS to fix gcc15 compile time error
-------------------------------------------------------------------
Tue Apr 8 06:07:24 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Make it build even on s390 with profiling
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 10 09:38:26 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com> Mon Mar 10 09:38:26 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -360,7 +360,8 @@ echo exit 0 > tests/read7.sub
set +o noclobber set +o noclobber
} }
LARGEFILE="$(getconf LFS_CFLAGS)" LARGEFILE="$(getconf LFS_CFLAGS)"
CFLAGS="%{optflags} $LARGEFILE -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g" # add -std=gnu17 to build w/ gcc-15; not needed for bash-5.3
CFLAGS="%{optflags} $LARGEFILE -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g -std=gnu17"
LDFLAGS="" LDFLAGS=""
# #
# Never ever put -DMUST_UNBLOCK_CHLD herein as this breaks bash # Never ever put -DMUST_UNBLOCK_CHLD herein as this breaks bash
@@ -503,7 +504,8 @@ echo exit 0 > tests/read7.sub
screen -D -m %make_build -j1 TESTSCRIPT=%{SOURCE4} check screen -D -m %make_build -j1 TESTSCRIPT=%{SOURCE4} check
kill -TERM $pid kill -TERM $pid
%if 0%{?do_profiling} && !0%{?want_reproducible_builds} %if 0%{?do_profiling} && !0%{?want_reproducible_builds}
profilecflags=CFLAGS="$CFLAGS %{cflags_profile_feedback}" rm -f jobs.gcda
profilecflags=CFLAGS="$CFLAGS %{cflags_profile_feedback} -fprofile-correction"
%make_build $makeopts "$profilecflags" clean %make_build $makeopts "$profilecflags" clean
%endif %endif
%make_build $makeopts "$profilecflags" all %make_build $makeopts "$profilecflags" all