build: add and use C_STANDARD in depends

This commit is contained in:
fanquake
2021-08-31 13:34:43 +08:00
parent 8035b5c80d
commit 7e7b3e42fa
10 changed files with 24 additions and 16 deletions

View File

@@ -45,6 +45,8 @@ MULTIPROCESS ?=
LTO ?=
FALLBACK_DOWNLOAD_PATH ?= https://bitcoincore.org/depends-sources
C_STANDARD ?= c11
BUILD = $(shell ./config.guess)
HOST ?= $(BUILD)
PATCHES_PATH = $(BASEDIR)/patches