From 11e09b4ca97a548547a271e175d29e6a4b931c41 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 a95d429311..d28207d68e 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