generator.py: add $GOARCH to makepkg-cross-*.conf

This commit is contained in:
InsanePrawn 2022-07-04 04:13:51 +02:00
parent 35a79363a4
commit ec9a8c0750

View file

@ -179,6 +179,7 @@ SRCEXT='.src.tar.gz'
conf += f'''
export ARCH="{COMPILE_ARCHES[arch]}"
export GOARCH="$ARCH"
export CROSS_COMPILE="{hostspec}-"
export CC="{hostspec}-gcc {includes} {libs}"
export CXX="{hostspec}-g++ {includes} {libs}"