diff --git a/toolchains/mips64el-linux-gnuabi64.toolchain.cmake b/toolchains/mips64el-linux-gnuabi64.toolchain.cmake index b6a8c09..20248ff 100644 --- a/toolchains/mips64el-linux-gnuabi64.toolchain.cmake +++ b/toolchains/mips64el-linux-gnuabi64.toolchain.cmake @@ -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