diff -urN memtest86-4.0s/Makefile memtest86-4.0s-hardened/Makefile --- memtest86-4.0s/Makefile 2012-12-29 21:31:17.000000000 +0100 +++ memtest86-4.0s-hardened/Makefile 2012-12-29 21:29:14.000000000 +0100 @@ -10,7 +10,7 @@ ASFLAGS=-32 -CFLAGS= -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector $(SMP_FL) +CFLAGS= -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -nopie $(SMP_FL) OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \ config.o linuxbios.o memsize.o error.o smp.o cpuid.o vmem.o random.o @@ -51,7 +51,7 @@ $(CC) -c $(CFLAGS:-fPIC=) -o $@ $< random.o: random.c - $(CC) -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding random.c + $(CC) -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -nopie random.c clean: rm -f *.o *.s *.iso memtest.bin memtest memtest_shared \