From 57fbfbb53d28d0c8a52ab13dbef2dab647e5fbf8 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Wed, 15 May 2019 17:22:31 +0200 Subject: [PATCH] strace: fix build error on riscv64 Signed-off-by: Zoltan HERPAI --- package/devel/strace/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/devel/strace/Makefile b/package/devel/strace/Makefile index 527b3e01d8..a1c1ab78fd 100644 --- a/package/devel/strace/Makefile +++ b/package/devel/strace/Makefile @@ -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)" \ -- 2.30.2