From 3e338ef4ee2c6fc298d787b09b95f2612b5b66a1 Mon Sep 17 00:00:00 2001 From: bgme Date: Mon, 13 Oct 2025 05:05:02 +0000 Subject: [PATCH] Squashed 'smartdns/' changes from f7ef021..d7fafa4 d7fafa4 Fix build failure issue with latest openwrt. git-subtree-dir: smartdns git-subtree-split: d7fafa4112ab0a3b2183ce98c64461f43aee1ad5 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d90bb9f..6e4c7ca 100644 --- a/Makefile +++ b/Makefile @@ -108,6 +108,7 @@ define Build/Compile/smartdns-ui CARGO_BUILD_ARGS="$(if $(strip $(RUST_PKG_FEATURES)),--features "$(strip $(RUST_PKG_FEATURES))") --profile $(CARGO_PKG_PROFILE)" +$(CARGO_PKG_VARS) CARGO_BUILD_ARGS="$(CARGO_BUILD_ARGS)" CC=$(TARGET_CC) \ PATH="$$(PATH):$(CARGO_HOME)/bin" \ + AWS_LC_SYS_CFLAGS="-O0" \ make -C $(PKG_BUILD_DIR)/plugin/smartdns-ui endef