[CP] [CP] enable lse optimization on armv8

This commit is contained in:
Naynahs
2024-01-02 02:43:15 +00:00
committed by ob-robot
parent 9b2af7230e
commit 551ddfbe06

View File

@ -272,7 +272,7 @@ if( ${ARCHITECTURE} STREQUAL "x86_64" )
set(ARCH_LDFLAGS "")
set(OCI_DEVEL_INC "${DEP_3RD_DIR}/usr/include/oracle/12.2/client64")
else()
set(MARCH_CFLAGS "-march=armv8-a+crc" )
set(MARCH_CFLAGS "-march=armv8-a+crc+lse" )
set(MTUNE_CFLAGS "-mtune=generic" )
set(ARCH_LDFLAGS "-l:libatomic.a")
set(OCI_DEVEL_INC "${DEP_3RD_DIR}/usr/include/oracle/19.10/client64")