diff --git a/Makefile.uk b/Makefile.uk index 9261779174d454df065cf3caff7afe7b9e3eb00f..34459d722e345b4def695a60ad0573cdc9765b70 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