- Set -DDFLTCC_LEVEL_MASK=0x7e on s390/s390x jsc#13776

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=66
This commit is contained in:
Tomáš Chvátal 2020-08-27 06:56:05 +00:00 committed by Git OBS Bridge
parent 7fc14866c9
commit d9276df283
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 27 06:55:29 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Set -DDFLTCC_LEVEL_MASK=0x7e on s390/s390x jsc#13776
-------------------------------------------------------------------
Thu Aug 6 08:36:48 UTC 2020 - Lidong Zhong <lidong.zhong@suse.com>

View File

@ -131,7 +131,11 @@ cp %{SOURCE4} .
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export LDFLAGS="-Wl,-z,relro,-z,now"
export CFLAGS="%{optflags}"
%ifarch s390x s390
export CFLAGS="%{optflags} -DDFLTCC_LEVEL_MASK=0x7e"
%else
export CFLAGS="%{optflags}"
%endif
# For sure not autotools build
CC="cc" ./configure \
--shared \