Add additional optimisation for x86_64 CARCHs
This commit is contained in:
parent
07d09c0d94
commit
372da66d5e
2
PKGBUILD
2
PKGBUILD
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user