Accepting request 1119912 from home:AdaLovelace:branches:Base:System

- Fix s390x build with 'gcc -Dalignas=_Alignas' bug#66709

OBS-URL: https://build.opensuse.org/request/show/1119912
OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=97
This commit is contained in:
Marcus Meissner 2023-10-25 08:04:50 +00:00 committed by Git OBS Bridge
parent 81206a0b70
commit e446975763
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 24 08:56:10 UTC 2023 - Sarah Kriesch <sarah.kriesch@opensuse.org>
- Fix s390x build with 'gcc -Dalignas=_Alignas' bug#66709
-------------------------------------------------------------------
Wed Aug 30 15:24:55 UTC 2023 - Danilo Spinella <danilo.spinella@suse.com>

View File

@ -59,6 +59,9 @@ times.
%build
export CFLAGS="%{optflags} -fomit-frame-pointer \
%ifarch s390x
-Dalignas=_Alignas \
%endif
-W -Wall -Wno-unused-parameter -Wstrict-prototypes -Wpointer-arith -fPIE"
export LDFLAGS="-pie"
# added because of gzip-1.10-ibm_dfltcc_support.patch [jsc#SLE-5818]