- 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:
parent
7fc14866c9
commit
d9276df283
@ -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>
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user