mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-20 05:56:58 +00:00
valgrind: Fix build on ARMv7
The valgrind configure script checks if host_cpu is set to armv7 or arm.
By default --host is set to arm-openwrt-linux and the host_cpu variable
is set to arm. Then the valgrind build tries to compile valgrind for
armv6 and fails. Set it explicitly to armv7 to compile valgrind with
armv7 support.
Fixes: 1a55d90320
("valgrind: Update to version 3.23")
Link: https://github.com/openwrt/openwrt/pull/16633
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
084665698b
commit
ffa4be4c14
@ -97,6 +97,10 @@ else
|
||||
BITS := 32bit
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_arm_v7),y)
|
||||
CONFIGURE_ARGS += --host=armv7-openwrt-linux$(if $(TARGET_SUFFIX),-$(TARGET_SUFFIX))
|
||||
endif
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--enable-lto \
|
||||
--enable-tls \
|
||||
|
Loading…
Reference in New Issue
Block a user