From: Zoltan HERPAI Date: Wed, 15 May 2019 15:22:31 +0000 (+0200) Subject: strace: fix build error on riscv64 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=11e09b4ca97a548547a271e175d29e6a4b931c41;p=openwrt%2Fstaging%2Fwigyori.git strace: fix build error on riscv64 Signed-off-by: Zoltan HERPAI --- 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)" \