add -std=gnu17 to CFLAGS to fix gcc15 compile time error
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=401
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user