diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind/Makefile
index 45d0323dbc3d398e33f7b7d54956d70c1f63b9ae..26dcf0b5c98cf27d68ce8db91cbdb01f945d78d6 100644
--- a/package/devel/valgrind/Makefile
+++ b/package/devel/valgrind/Makefile
@@ -83,6 +83,8 @@ CONFIGURE_VARS += \
 	UNAME_R=$(LINUX_VERSION)
 
 ifeq ($(ARCH),x86_64)
+	CONFIGURE_ARGS += \
+		--enable-only64bit
 	BITS := 64bit
 else
 	CONFIGURE_ARGS += \