Merge pull request #4500 from antonlacon/le10-aarch64-build

arch.aarch64: don't attempt to use the LSE cpu feature
This commit is contained in:
CvH 2020-09-11 21:55:24 +02:00 committed by GitHub
commit c782141e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,5 +23,7 @@
# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi -mtune=$TARGET_CPU"
# Disable runtime checking support of ARMv8.0's optional LSE feature. Breaks gdb and mesa compile.
TARGET_CFLAGS="${TARGET_CFLAGS} -mno-outline-atomics"
TARGET_LDFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mtune=$TARGET_CPU"
GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"