--- Makefile.orig 2004-11-12 07:16:25.000000000 -0500 +++ Makefile 2005-01-10 21:35:19.000000000 -0500 @@ -12,7 +12,7 @@ # # gcc compiler options, these settings should suffice # -CCFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding +CCFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector AS=as -32 @@ -21,10 +21,13 @@ all: memtest.bin memtest reloc.o: reloc.c - $(CC) -c -m32 -fPIC -Wall -O -fno-strict-aliasing reloc.c + $(CC) -c -m32 -fPIC -Wall -O -fno-strict-aliasing reloc.c -fno-stack-protector + +random.o: + $(CC) -c $(CCFLAGS) -fPIC random.c test.o: test.c test.h defs.h config.h - $(CC) -c $(CCFLAGS) test.c + $(CC) -c $(CCFLAGS) -fno-PIC test.c main.o: main.c test.h defs.h $(CC) -c $(CCFLAGS) -fPIC main.c