1
0

musl-s390x.patch 552 B

12345678910111213
  1. diff -Nur gcc-7.2.0.orig/gcc/config/s390/linux.h gcc-7.2.0/gcc/config/s390/linux.h
  2. --- gcc-7.2.0.orig/gcc/config/s390/linux.h 2017-02-06 11:25:05.513198000 +0100
  3. +++ gcc-7.2.0/gcc/config/s390/linux.h 2017-10-30 13:22:45.348170100 +0100
  4. @@ -76,6 +76,9 @@
  5. #define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
  6. #define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1"
  7. +#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-s390.so.1"
  8. +#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-s390x.so.1"
  9. +
  10. #undef LINK_SPEC
  11. #define LINK_SPEC \
  12. "%{m31:-m elf_s390}%{m64:-m elf64_s390} \