2
0

Add additional optimisation for x86_64 CARCHs

This commit is contained in:
Frederik “Freso” S. Olesen 2024-02-17 20:48:55 +01:00 committed by Arti Zirk
parent 07d09c0d94
commit 372da66d5e

View File

@ -63,6 +63,8 @@ build(){
_gccarch='-m64' _gccarch='-m64'
if [ "${CARCH}" == "aarch64" ]; then if [ "${CARCH}" == "aarch64" ]; then
_gccarch='-march=armv8-a+crypto' _gccarch='-march=armv8-a+crypto'
elif [[ "${CARCH}" =~ ^x86_64(|_v[0-9]+)$ ]]; then
_gccarch="-march=${CARCH//_/-}"
fi fi
# for attach debugger # for attach debugger