s390-musl.patch 613 B

123456789101112131415
  1. diff -Nur gcc-6.2.0.orig/gcc/config/s390/linux.h gcc-6.2.0/gcc/config/s390/linux.h
  2. --- gcc-6.2.0.orig/gcc/config/s390/linux.h 2016-01-04 15:30:50.000000000 +0100
  3. +++ gcc-6.2.0/gcc/config/s390/linux.h 2016-11-23 00:05:47.186562086 +0100
  4. @@ -63,6 +63,11 @@
  5. #define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
  6. #define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1"
  7. +#undef MUSL_DYNAMIC_LINKER32
  8. +#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-s390.so.1"
  9. +#undef MUSL_DYNAMIC_LINKER64
  10. +#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-s390x.so.1"
  11. +
  12. #undef LINK_SPEC
  13. #define LINK_SPEC \
  14. "%{m31:-m elf_s390}%{m64:-m elf64_s390} \