Remove non-relevant lto flags and -O flag munging
This commit is contained in:
parent
0fe1566af7
commit
51dc517987
@ -61,15 +61,6 @@ applications using libgcrypt.
|
|||||||
%patch 2 -p1
|
%patch 2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# This package has a configure test which uses ASMs, but does not link the
|
|
||||||
# resultant .o files. As such the ASM test is always successful, even on
|
|
||||||
# architectures were the ASM is not valid when compiling with LTO.
|
|
||||||
#
|
|
||||||
# -ffat-lto-objects is sufficient to address this issue. It is the default
|
|
||||||
# for F33, but is expected to only be enabled for packages that need it in
|
|
||||||
# F34, so we use it here explicitly
|
|
||||||
%define _lto_cflags -flto=auto -ffat-lto-objects
|
|
||||||
|
|
||||||
# should be all algorithms except SM3 and SM4, aria
|
# should be all algorithms except SM3 and SM4, aria
|
||||||
export DIGESTS='crc gostr3411-94 md4 md5 rmd160 sha1 sha256 sha512 sha3 tiger whirlpool stribog blake2'
|
export DIGESTS='crc gostr3411-94 md4 md5 rmd160 sha1 sha256 sha512 sha3 tiger whirlpool stribog blake2'
|
||||||
export CIPHERS='arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia idea salsa20 gost28147 chacha20'
|
export CIPHERS='arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia idea salsa20 gost28147 chacha20'
|
||||||
@ -85,6 +76,7 @@ autoreconf -f
|
|||||||
--enable-noexecstack \
|
--enable-noexecstack \
|
||||||
--enable-hmac-binary-check=%{hmackey} \
|
--enable-hmac-binary-check=%{hmackey} \
|
||||||
--disable-jent-support \
|
--disable-jent-support \
|
||||||
|
--disable-O-flag-munging \
|
||||||
--enable-digests="$DIGESTS" \
|
--enable-digests="$DIGESTS" \
|
||||||
--enable-ciphers="$CIPHERS" \
|
--enable-ciphers="$CIPHERS" \
|
||||||
--with-fips-module-version="$FIPS_MODULE_NAME %{version}-%{srpmhash}"
|
--with-fips-module-version="$FIPS_MODULE_NAME %{version}-%{srpmhash}"
|
||||||
|
Loading…
Reference in New Issue
Block a user