diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind/Makefile index a8e47db7c88..f2fa400444f 100644 --- a/package/devel/valgrind/Makefile +++ b/package/devel/valgrind/Makefile @@ -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 \