Dirk Mueller
2fe4f7a04e
* Added ARM64 support for FreeBSD. * ARM64 now supports dotprod instructions (sdot/udot). * AMD64 better supports code build with -march=x86-64-v3. fused-multiple-add instructions (fma) are now emulated more accurately. And memcheck now handles __builtin_strcmp using 128/256 bit vectors with sse4.1, avx/avx2. * S390X added support for NNPA (neural network processing assist) facility vector instructions VCNF, VCLFNH, VCFN, VCLFNL, VCRNF and NNPA (z16/arch14). * X86 recognizes new binutils-2.42 nop patterns. - drop VEX-x86-nop-pattern.patch (upstream) - drop armv6-support.diff (obsolete) OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=279
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
Index: valgrind-3.23.0/configure
|
|
===================================================================
|
|
--- valgrind-3.23.0.orig/configure
|
|
+++ valgrind-3.23.0/configure
|
|
@@ -11265,7 +11265,7 @@ if test "x${vg_cv_lto}" != "xno" -a "x${
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if toolchain accepts lto" >&5
|
|
printf %s "checking if toolchain accepts lto... " >&6; }
|
|
safe_CFLAGS=$CFLAGS
|
|
-TEST_LTO_CFLAGS="-flto -flto-partition=one -fuse-linker-plugin"
|
|
+TEST_LTO_CFLAGS="-flto=auto"
|
|
# Note : using 'one' partition is giving a slightly smaller/faster memcheck
|
|
# and ld/lto-trans1 still needs a reasonable memory (about 0.5GB) when linking.
|
|
CFLAGS="$TEST_LTO_CFLAGS -Werror"
|
|
Index: valgrind-3.23.0/configure.ac
|
|
===================================================================
|
|
--- valgrind-3.23.0.orig/configure.ac
|
|
+++ valgrind-3.23.0/configure.ac
|
|
@@ -2541,7 +2541,7 @@ AC_CACHE_CHECK([for using the link time
|
|
if test "x${vg_cv_lto}" != "xno" -a "x${LTO_AR}" != "x" -a "x${LTO_RANLIB}" != "x"; then
|
|
AC_MSG_CHECKING([if toolchain accepts lto])
|
|
safe_CFLAGS=$CFLAGS
|
|
-TEST_LTO_CFLAGS="-flto -flto-partition=one -fuse-linker-plugin"
|
|
+TEST_LTO_CFLAGS="-flto=auto"
|
|
# Note : using 'one' partition is giving a slightly smaller/faster memcheck
|
|
# and ld/lto-trans1 still needs a reasonable memory (about 0.5GB) when linking.
|
|
CFLAGS="$TEST_LTO_CFLAGS -Werror"
|