From dd077b024e1cdcd834ff62ae2cd9dc7e81edd539 Mon Sep 17 00:00:00 2001 From: wangguokun Date: Fri, 19 Jul 2024 10:04:52 +0800 Subject: [PATCH] lib/libcxx: remove unconditional download of source code during build process Signed-off-by: wangguokun --- Makefile.uk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.uk b/Makefile.uk index 9261779..34459d7 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -53,8 +53,11 @@ endif LIBCXX_VERSION=14.0.6 LIBCXX_URL=https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LIBCXX_VERSION)/libcxx-$(LIBCXX_VERSION).src.tar.xz LIBCXX_PATCHDIR=$(LIBCXX_BASE)/patches + +ifeq ($(CONFIG_LIBCXX),y) $(eval $(call fetch,libcxx,$(LIBCXX_URL))) $(eval $(call patch,libcxx,$(LIBCXX_PATCHDIR),libcxx-$(LIBCXX_VERSION).src)) +endif ################################################################################ # Helpers -- Gitee