Accepting request 1271572 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1271572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=199
This commit is contained in:
2025-04-23 15:26:42 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

View File

@@ -360,7 +360,8 @@ echo exit 0 > tests/read7.sub
set +o noclobber
}
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=""
#
# Never ever put -DMUST_UNBLOCK_CHLD herein as this breaks bash