diff options
Diffstat (limited to 'main/gcc/005_all_default-as-needed.patch')
-rw-r--r-- | main/gcc/005_all_default-as-needed.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/gcc/005_all_default-as-needed.patch b/main/gcc/005_all_default-as-needed.patch index 00852197fa..2eced0f06c 100644 --- a/main/gcc/005_all_default-as-needed.patch +++ b/main/gcc/005_all_default-as-needed.patch @@ -234,11 +234,11 @@ Index: b/gcc/config/riscv/linux.h =================================================================== --- a/gcc/config/riscv/linux.h +++ b/gcc/config/riscv/linux.h -@@ -50,6 +50,7 @@ - #define CPP_SPEC "%{pthread:-D_REENTRANT}" +@@ -58,6 +58,7 @@ + "%{mabi=ilp32:_ilp32}" #define LINK_SPEC "\ +-as-needed \ - -melf" XLEN_SPEC "lriscv \ + -melf" XLEN_SPEC "lriscv" LD_EMUL_SUFFIX " \ %{mno-relax:--no-relax} \ %{shared} \ |