include: add a seccomp filter install wrapper
[openwrt/openwrt.git] / toolchain / gcc / patches / 4.8-linaro / 202-musl_mips.patch
1 --- a/gcc/config/mips/linux.h
2 +++ b/gcc/config/mips/linux.h
3 @@ -18,3 +18,10 @@ along with GCC; see the file COPYING3.
4 <http://www.gnu.org/licenses/>. */
5
6 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
7 +
8 +#if TARGET_ENDIAN_DEFAULT == 0 /* LE */
9 +#define MUSL_DYNAMIC_LINKER_E "%{EB:;:el}"
10 +#else
11 +#define MUSL_DYNAMIC_LINKER_E "%{EL:el}"
12 +#endif
13 +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-mips" MUSL_DYNAMIC_LINKER_E ".so.1"