feat add mxgot for misp
All checks were successful
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 1m47s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m15s

This commit is contained in:
tqcq 2024-06-17 15:12:02 +08:00
parent 80e184af07
commit 3fe1b1bf4c

View File

@ -18,8 +18,8 @@ if(NOT CMAKE_FIND_ROOT_PATH_MODE_PACKAGE)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
endif()
set(CMAKE_C_FLAGS "-march=mips64 -mno-xgot")
set(CMAKE_CXX_FLAGS "-march=mips64 -mno-xgot")
set(CMAKE_C_FLAGS "-march=mips64 -mxgot")
set(CMAKE_CXX_FLAGS "-march=mips64 -mxgot")
# cache flags
set(CMAKE_C_FLAGS