Update makefile message

Use CLANG_COMPILER when warning about LLVM's libc++
This commit is contained in:
Jeffrey Walton 2021-03-18 02:13:37 -04:00
parent 1b7abaadcc
commit 034297eafa
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

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