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 1125cc5764
commit 6779b9eb32

View File

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