aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMinecrell <minecrell@minecrell.net>2020-02-06 19:37:08 +0100
committerTimo Teräs <timo.teras@iki.fi>2020-02-17 16:49:22 +0200
commitb43b047ceb3a360a77bb43bdf9a0815874d73859 (patch)
treea3e22e3f030b947b691bc1e017c81694672bb14e /README.md
parent40a1b233c1c26aaa13e88de4a1ebc7715ddc7994 (diff)
downloadaports-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