Only use libc++ when building with AppleClang.

This commit is contained in:
Sadie Powell 2020-11-10 19:54:51 +00:00
parent 8240a06ed3
commit 610d92ae6a

View File

@ -80,7 +80,7 @@ ifneq ($(SYSTEM), openbsd)
endif endif
endif endif
ifeq ($(COMPILER),$(filter $(COMPILER),AppleClang Clang)) ifeq ($(COMPILER),AppleClang)
CXX += -stdlib=libc++ CXX += -stdlib=libc++
endif endif