void-packages/srcpkgs/memtest86+/patches/05.memtest86+-5.01-fno-stac...

12 lines
516 B
Diff

--- Makefile.orig 2019-03-29 16:41:29.629879497 +0100
+++ Makefile 2019-03-29 16:41:55.351031244 +0100
@@ -53,7 +53,7 @@
$(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.c
test.o: test.c
- $(CC) -c -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding test.c
+ $(CC) -c -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector test.c
random.o: random.c
$(CC) -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding random.c