wok-next view gcc/stuff/patches/053_all_libitm-no-fortify-source.patch @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents
children
line source
1 https://bugs.gentoo.org/508852
2 https://gcc.gnu.org/PR61164
4 2014-04-27 Magnus Granberg <zorry@gentoo.org>
6 #508852
7 * libitm/configure.tgt: Disable FORTIFY
9 --- a/libitm/configure.tgt
10 +++ b/libitm/configure.tgt
11 @@ -43,6 +43,16 @@ if test "$gcc_cv_have_tls" = yes ; then
12 esac
13 fi
15 +# FIXME: error: inlining failed in call to always_inline
16 +# ‘int vfprintf(FILE*, const char*, __va_list_tag*)’
17 +# : function body can be overwritten at link time
18 +# Disable Fortify in libitm for now. #508852
19 +case "${target}" in
20 + *-*-linux*)
21 + XCFLAGS="${XCFLAGS} -U_FORTIFY_SOURCE"
22 + ;;
23 +esac
24 +
25 # Map the target cpu to an ARCH sub-directory. At the same time,
26 # work out any special compilation flags as necessary.
27 case "${target_cpu}" in