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

@@ -96,6 +96,7 @@ The following can be set when running make: `make FOO=bar`
- `BASE_CACHE`: Built packages will be placed here
- `SDK_PATH`: Path where SDKs can be found (used by macOS)
- `FALLBACK_DOWNLOAD_PATH`: If a source file can't be fetched, try here before giving up
- `C_STANDARD`: Set the C standard version used. Defaults to `c11`.
- `NO_QT`: Don't download/build/cache Qt and its dependencies
- `NO_QR`: Don't download/build/cache packages needed for enabling qrencode
- `NO_ZMQ`: Don't download/build/cache packages needed for enabling ZeroMQ