strace: fix build error on riscv64
authorZoltan HERPAI <wigyori@uid0.hu>
Wed, 15 May 2019 15:22:31 +0000 (17:22 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Thu, 4 Mar 2021 00:04:28 +0000 (01:04 +0100)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
package/devel/strace/Makefile

index a95d429311ad5f77383967d9ad2e0d2bf751392d..d28207d68e30c1bb4583833a256d21c1dcbad33e 100644 (file)
@@ -32,6 +32,10 @@ include $(INCLUDE_DIR)/package.mk
 
 HOST_CFLAGS += -I$(LINUX_DIR)/user_headers/include
 
+ifeq ($(ARCH),riscv64)
+  CONFIGURE_ARGS += --enable-mpers=check
+endif
+
 CONFIGURE_VARS+= \
        LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
        CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \