aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSyrone Wong <wong.syrone@gmail.com>2018-11-24 10:00:46 +0800
committerJohn Crispin <john@phrozen.org>2018-11-26 09:44:42 +0100
commit0331770299b1587a96285fd1af33afe6de4ecbb9 (patch)
tree3ce7561c7c9f2853d40a74c7dca8373e1aee911e
parent493c9a35516c27a8ec412d97e63c8cf6f41a57ea (diff)
downloadupstream-0331770299b1587a96285fd1af33afe6de4ecbb9.tar.gz
upstream-0331770299b1587a96285fd1af33afe6de4ecbb9.tar.bz2
upstream-0331770299b1587a96285fd1af33afe6de4ecbb9.zip
valgrind: enable LTO and refresh patches
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
-rw-r--r--package/devel/valgrind/Makefile1
-rw-r--r--package/devel/valgrind/patches/100-fix_configure_check.patch2
-rw-r--r--package/devel/valgrind/patches/130-fix_arm_arch_detection.patch2
3 files changed, 3 insertions, 2 deletions
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"
;;