mirror of https://github.com/krallin/tini.git
- `ARCH_SUFFIX` should not be passed at runtime: it's already passed as a build argument, and it's consumed during the build (so it's too late to change it at runtime). - For consistency, pass `ARCH_NATIVE` and `CC` similarly at build time as well: passing `CC` and `ARCH_SUFFIX` at different times is particularly error-prone. - Accept all parameters to `ddist.sh` via environment variables. It doesn't make sense to accept exclusively `ARCH_SUFFIX` as a positional argument when `ARCH_SUFFIX` alone doesn't accomplish anything (i.e. you also need `CC`). TODO: `CC` should be derived from `ARCH_SUFFIX` in the first place.pull/98/head
parent
7be42da42b
commit
a77c1fd423
2 changed files with 35 additions and 15 deletions
Loading…
Reference in new issue