linux-xiaomi-ido: using the default host cc
Host `gcc6-gcc` will cause this error:
```
HOSTCC scripts/basic/fixdep
In file included from /usr/include/fortify/sys/select.h:26:0,
from /usr/include/sys/types.h:71,
from scripts/basic/fixdep.c:106:
/usr/include/fortify/fortify-headers.h:56:67: error: missing binary operator before token "("
#if _FORTIFY_SOURCE > 2 && defined __has_builtin && __has_builtin (__builtin_dynamic_object_size)
^
```
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8303>
This commit is contained in:
@@ -17,7 +17,6 @@ makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev d
|
||||
# well. See <https://postmarketos.org/vendorkernel> for instructions.
|
||||
if [ "${CC:0:5}" != "gcc6-" ]; then
|
||||
CC="gcc6-$CC"
|
||||
HOSTCC="gcc6-gcc"
|
||||
CROSS_COMPILE="gcc6-$CROSS_COMPILE"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user