From: Syrone Wong Date: Sat, 24 Nov 2018 02:00:46 +0000 (+0800) Subject: valgrind: enable LTO and refresh patches X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0331770299b1587a96285fd1af33afe6de4ecbb9;p=openwrt%2Fstaging%2Faparcar.git valgrind: enable LTO and refresh patches Signed-off-by: Syrone Wong --- diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind/Makefile index d3844c2388..a670ba51b5 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 6ba5fdf1d7..270181ae37 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 c8d203390c..26291f777b 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" ;;