0001-fix-memtest86-linker-error-during-build.patch 885 B

1234567891011121314151617181920212223242526
  1. From bed727867b7f5bc246067a4195a96abbc82aef35 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?F=C3=A9licien=20Pillot?= <felicien@gnu.org>
  3. Date: Tue, 8 Feb 2022 07:37:50 +0000
  4. Subject: [PATCH 1/1] fix memtest86+ linker error during build
  5. ---
  6. Makefile | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/Makefile b/Makefile
  9. index 7732491..23ea640 100644
  10. --- a/Makefile
  11. +++ b/Makefile
  12. @@ -75,7 +75,7 @@ reloc.o: reloc.c
  13. $(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.c
  14. test.o: test.c
  15. - $(CC) -c -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-strict-overflow test.c
  16. + $(CC) -c -Wno-error -w -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-strict-overflow -fno-stack-protector test.c
  17. random.o: random.c
  18. $(CC) -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding random.c
  19. --
  20. 2.25.1