From f7595f1354f4618436fdab232000dc152bff315a Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 9 Sep 2021 14:21:01 +0800 Subject: build: add and use CXX_STANDARD in depends --- depends/hosts/darwin.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'depends/hosts/darwin.mk') diff --git a/depends/hosts/darwin.mk b/depends/hosts/darwin.mk index ca31403d4d..8507e28532 100644 --- a/depends/hosts/darwin.mk +++ b/depends/hosts/darwin.mk @@ -110,7 +110,7 @@ darwin_CXX=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \ -Xclang -internal-externc-isystem$(OSX_SDK)/usr/include darwin_CFLAGS=-pipe -std=$(C_STANDARD) -darwin_CXXFLAGS=-pipe +darwin_CXXFLAGS=-pipe -std=$(CXX_STANDARD) ifneq ($(LTO),) darwin_CFLAGS += -flto -- cgit v1.2.3