summaryrefslogtreecommitdiff
path: root/debian/patches/mips-fix-loongson2f-nop.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/mips-fix-loongson2f-nop.diff')
-rw-r--r--debian/patches/mips-fix-loongson2f-nop.diff6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/mips-fix-loongson2f-nop.diff b/debian/patches/mips-fix-loongson2f-nop.diff
index a6227f1..c74ab01 100644
--- a/debian/patches/mips-fix-loongson2f-nop.diff
+++ b/debian/patches/mips-fix-loongson2f-nop.diff
@@ -5,10 +5,10 @@ Index: b/src/gcc/config/mips/mips.h
===================================================================
--- a/src/gcc/config/mips/mips.h
+++ b/src/gcc/config/mips/mips.h
-@@ -1237,6 +1237,7 @@ struct mips_cpu_info {
- %{mshared} %{mno-shared} \
+@@ -1295,6 +1295,7 @@ struct mips_cpu_info {
%{msym32} %{mno-sym32} \
- %{mtune=*} \
+ %{mtune=*}" \
+ FP_ASM_SPEC "\
+%{!mno-fix-loongson2f-nop:-mfix-loongson2f-nop} \
%(subtarget_asm_spec)"