Squashed 'smartdns/' changes from f7ef021..d7fafa4

d7fafa4 Fix build failure issue with latest openwrt.

git-subtree-dir: smartdns
git-subtree-split: d7fafa4112ab0a3b2183ce98c64461f43aee1ad5
This commit is contained in:
bgme 2025-10-13 05:05:02 +00:00
parent 0aa68d6965
commit 3e338ef4ee

View file

@ -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