diff options
author | Minecrell <minecrell@minecrell.net> | 2020-02-06 19:37:08 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-02-17 16:49:22 +0200 |
commit | b43b047ceb3a360a77bb43bdf9a0815874d73859 (patch) | |
tree | a3e22e3f030b947b691bc1e017c81694672bb14e /README.md | |
parent | 40a1b233c1c26aaa13e88de4a1ebc7715ddc7994 (diff) | |
download | aports-b43b047ceb3a360a77bb43bdf9a0815874d73859.tar.bz2 aports-b43b047ceb3a360a77bb43bdf9a0815874d73859.tar.xz |
main/linux-*: remove redundant override of HOSTCC
apkbuild-lint complains about the use of HOSTCC in APKBUILDs:
IC:[AL6]:main/linux-lts/APKBUILD:66:prefix custom variable with _: HOSTCC="${CC:-gcc}"
IC:[AL6]:main/linux-lts/APKBUILD:67:prefix custom variable with _: HOSTCC="${HOSTCC#${CROSS_COMPILE}}"
MC:[AL31]:main/linux-lts/APKBUILD:66:variables must not have capital letters
MC:[AL31]:main/linux-lts/APKBUILD:67:variables must not have capital letters
The first two were fixed in https://gitlab.alpinelinux.org/Leo/atools/merge_requests/24.
But apkbuild-lint still complains about the capitalized variable.
Adding an exception for this in atools seems quite complicated.
It turns out overriding HOSTCC in the linux-* APKBUILD is actually
no longer necessary. abuild automatically sets HOSTCC correctly now
when cross compiling, and the APKBUILD will just set the same value again.
(see https://gitlab.alpinelinux.org/alpine/abuild/commit/9be173c6774fbec6cf8acd573faa039dd4129fc6)
We can just remove HOSTCC from the APKBUILD.
linux-lts still builds fine when cross compiling for aarch64 using bootstrap.sh.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions