You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/toolchain/gcc/patches/4.9-linaro/220-musl_mips_softfloat.patch

9 lines
350 B
Diff

--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -29,4 +29,4 @@ along with GCC; see the file COPYING3.
#else
#define MUSL_DYNAMIC_LINKER_E "%{EL:el}"
#endif
-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-mips" MUSL_DYNAMIC_LINKER_E ".so.1"
+#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-mips" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"