From 034297eafae0c0b9c1b2917b8798ed20fd981254 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 18 Mar 2021 02:13:37 -0400 Subject: [PATCH] Update makefile message Use CLANG_COMPILER when warning about LLVM's libc++ --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 61f5dd64..68a070c1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1712,7 +1712,7 @@ endif .PHONY: osx_warning osx_warning: -ifeq ($(IS_DARWIN),1) +ifeq ($(IS_DARWIN)$(CLANG_COMPILER),11) ifeq ($(findstring -stdlib=libc++,$(CRYPTOPP_CXXFLAGS)$(CXXFLAGS)),) $(info ) $(info INFO: Crypto++ was built without LLVM's libc++. If you are using the library)