fixed 899, failed to deploy oceanbase on arm platformat (#940)

This commit is contained in:
fire_atom 2022-05-23 16:58:42 +08:00 committed by GitHub
parent 723d5dd86e
commit ae1d5417ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ if(${ARCHITECTURE} STREQUAL "x86_64")
elseif(${ARCHITECTURE} STREQUAL "aarch64")
set(MARCH_CFLAGS "-march=armv8-a+crc" )
set(MTUNE_CFLAGS "-mtune=generic" )
set(ARCH_LDFLAGS "-latomic")
set(ARCH_LDFLAGS "-l:libatomic.a")
elseif(${ARCHITECTURE} STREQUAL "loongarch64")
set(MARCH_CFLAGS "-march=la464" )
set(MTUNE_CFLAGS "-mabi=lp64d" )