switch off stack_clash_protectiion compile option
This commit is contained in:
parent
ce1d7e65de
commit
48abe201ad
@ -431,6 +431,12 @@ MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -fsanitize=address -ldl"
|
||||
%endif
|
||||
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"
|
||||
%if !%{build_with_clang}
|
||||
%ifarch x86_64
|
||||
MOZ_OPT_FLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/openEuler/openEuler-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now -DNSS_PKCS11_3_0_STRICT'
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
MOZ_OPT_FLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/openEuler/openEuler-hardened-cc1 -mabi=lp64 -mtune=generic -fasynchronous-unwind-tables -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now -DNSS_PKCS11_3_0_STRICT'
|
||||
%endif
|
||||
echo "export CFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
||||
echo "export CXXFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
||||
echo "export LDFLAGS=\"$MOZ_LINK_FLAGS\"" >> .mozconfig
|
||||
@ -732,7 +738,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%changelog
|
||||
* Wed Oct 14 2020 Jeffery.Gao <gaojianxing@huawei.com> - 79.0-1
|
||||
- Update to 79.0-1
|
||||
- Update to 79.0-1 and switch off -fstack_clash_protection compiler option
|
||||
|
||||
* Wed Jul 22 2020 lingsheng <lingsheng@huawei.com> - 62.0.3-7
|
||||
- Fix firefox build with rust 1.38
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user