pmb.aportgen.linux: remove HOSTCC for latest GCC (!1880)

Setting HOSTCC is not necessary when using latest GCC
(since it defaults to "gcc"). Setting it only causes annoying
linter warnings. Let's remove it!
This commit is contained in:
Minecrell 2020-02-29 16:55:58 +01:00 committed by Oliver Smith
parent ec6d40dfcc
commit 21b4e04c77
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -50,10 +50,6 @@ def generate_apkbuild(args, pkgname, deviceinfo, patches):
options="!strip !check !tracedeps"
makedepends=\"""" + makedepends + """\"
# Compiler: latest GCC from Alpine
HOSTCC="${CC:-gcc}"
HOSTCC="${HOSTCC#${CROSS_COMPILE}}"
# Source
_repository="(CHANGEME!)"
_commit="ffffffffffffffffffffffffffffffffffffffff"