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/linux.mk | |
parent | 8035b5c80df51130af7cd398da84186ee42dd6e3 (diff) | |
download | bitcoin-7e7b3e42fa98b584ae60513a6774037bf677b8ce.tar.xz |
build: add and use C_STANDARD in depends
Diffstat (limited to 'depends/hosts/linux.mk')
-rw-r--r-- | depends/hosts/linux.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/depends/hosts/linux.mk b/depends/hosts/linux.mk index 5322520e6f..d32d7e84ab 100644 --- a/depends/hosts/linux.mk +++ b/depends/hosts/linux.mk @@ -1,12 +1,12 @@ -linux_CFLAGS=-pipe +linux_CFLAGS=-pipe -std=$(C_STANDARD) +linux_CXXFLAGS=-pipe ifneq ($(LTO),) linux_CFLAGS += -flto +linux_CXXFLAGS += -flto linux_LDFLAGS += -flto endif -linux_CXXFLAGS=$(linux_CFLAGS) - linux_release_CFLAGS=-O2 linux_release_CXXFLAGS=$(linux_release_CFLAGS) |