diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile index 1446c3898..f6d7e0192 100644 --- a/net/openvswitch/Makefile +++ b/net/openvswitch/Makefile @@ -116,6 +116,9 @@ CONFIGURE_ARGS += --enable-shared TARGET_CFLAGS += -flto -std=gnu99 +CONFIGURE_VARS += KARCH=$(LINUX_KARCH) +MAKE_FLAGS += ARCH="$(LINUX_KARCH)" + define Package/openvswitch/install $(INSTALL_DIR) $(1)/etc/openvswitch