diff options
author | fanquake <fanquake@gmail.com> | 2021-08-31 13:34:43 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-06-16 16:59:05 +0100 |
commit | 7e7b3e42fa98b584ae60513a6774037bf677b8ce (patch) | |
tree | 165cab169ec64034c8bcf6cd8b5e8c0683322242 /depends/hosts/darwin.mk | |
parent | 8035b5c80df51130af7cd398da84186ee42dd6e3 (diff) | |
download | bitcoin-7e7b3e42fa98b584ae60513a6774037bf677b8ce.tar.xz |
build: add and use C_STANDARD in depends
Diffstat (limited to 'depends/hosts/darwin.mk')
-rw-r--r-- | depends/hosts/darwin.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/depends/hosts/darwin.mk b/depends/hosts/darwin.mk index a564613cb6..ca31403d4d 100644 --- a/depends/hosts/darwin.mk +++ b/depends/hosts/darwin.mk @@ -109,15 +109,15 @@ darwin_CXX=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \ -Xclang -internal-externc-isystem$(clang_resource_dir)/include \ -Xclang -internal-externc-isystem$(OSX_SDK)/usr/include -darwin_CFLAGS=-pipe +darwin_CFLAGS=-pipe -std=$(C_STANDARD) +darwin_CXXFLAGS=-pipe ifneq ($(LTO),) darwin_CFLAGS += -flto +darwin_CXXFLAGS += -flto darwin_LDFLAGS += -flto endif -darwin_CXXFLAGS=$(darwin_CFLAGS) - darwin_release_CFLAGS=-O2 darwin_release_CXXFLAGS=$(darwin_release_CFLAGS) |