130-compile_fixes.patch 770 B

12345678910111213141516171819202122
  1. --- a/libc/string/mips/sysdep.h
  2. +++ b/libc/string/mips/sysdep.h
  3. @@ -29,7 +29,7 @@
  4. .globl name; \
  5. .align 2; \
  6. .ent name,0; \
  7. - name##:
  8. + name:
  9. #undef END
  10. #define END(function) \
  11. --- a/Rules.mak
  12. +++ b/Rules.mak
  13. @@ -399,7 +399,7 @@ ifneq ($(HAVE_SHARED),y)
  14. CFLAGS += -DSTATIC
  15. endif
  16. -CFLAGS += $(call check_gcc,-std=gnu99,)
  17. +# CFLAGS += $(call check_gcc,-std=gnu99,)
  18. LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc
  19. # binutils-2.16.1 warns about ignored sections, 2.16.91.0.3 and newer are ok