From 0331770299b1587a96285fd1af33afe6de4ecbb9 Mon Sep 17 00:00:00 2001 From: Syrone Wong Date: Sat, 24 Nov 2018 10:00:46 +0800 Subject: [PATCH] valgrind: enable LTO and refresh patches Signed-off-by: Syrone Wong --- package/devel/valgrind/Makefile | 1 + package/devel/valgrind/patches/100-fix_configure_check.patch | 2 +- package/devel/valgrind/patches/130-fix_arm_arch_detection.patch | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind/Makefile index d3844c23886..a670ba51b59 100644 --- a/package/devel/valgrind/Makefile +++ b/package/devel/valgrind/Makefile @@ -105,6 +105,7 @@ CONFIGURE_ARGS += \ --disable-valgrindtk \ --without-included-gettext \ --with-pagesize=4 \ + --enable-lto define Package/valgrind/install $(INSTALL_DIR) $(1)/usr/bin diff --git a/package/devel/valgrind/patches/100-fix_configure_check.patch b/package/devel/valgrind/patches/100-fix_configure_check.patch index 6ba5fdf1d72..270181ae376 100644 --- a/package/devel/valgrind/patches/100-fix_configure_check.patch +++ b/package/devel/valgrind/patches/100-fix_configure_check.patch @@ -1,6 +1,6 @@ --- a/configure.ac +++ b/configure.ac -@@ -323,7 +323,7 @@ case "${host_os}" in +@@ -341,7 +341,7 @@ case "${host_os}" in # Ok, this is linux. Check the kernel version AC_MSG_CHECKING([for the kernel version]) diff --git a/package/devel/valgrind/patches/130-fix_arm_arch_detection.patch b/package/devel/valgrind/patches/130-fix_arm_arch_detection.patch index c8d203390c8..26291f777bb 100644 --- a/package/devel/valgrind/patches/130-fix_arm_arch_detection.patch +++ b/package/devel/valgrind/patches/130-fix_arm_arch_detection.patch @@ -6,7 +6,7 @@ Last-Update: 2013-11-30 --- a/configure.ac +++ b/configure.ac -@@ -234,7 +234,7 @@ case "${host_cpu}" in +@@ -252,7 +252,7 @@ case "${host_cpu}" in ARCH_MAX="s390x" ;; -- 2.30.2