From 3fe1b1bf4c2f003efccd70097408e73035e7e051 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Mon, 17 Jun 2024 15:12:02 +0800 Subject: [PATCH] feat add mxgot for misp --- toolchains/mips64el-linux-gnuabi64.toolchain.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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