Lines 10-16
Link Here
|
10 |
|
10 |
|
11 |
ASFLAGS=-32 |
11 |
ASFLAGS=-32 |
12 |
|
12 |
|
13 |
CFLAGS= -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector $(SMP_FL) |
13 |
CFLAGS= -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -nopie $(SMP_FL) |
14 |
|
14 |
|
15 |
OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \ |
15 |
OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \ |
16 |
config.o linuxbios.o memsize.o error.o smp.o cpuid.o vmem.o random.o |
16 |
config.o linuxbios.o memsize.o error.o smp.o cpuid.o vmem.o random.o |
Lines 51-57
Link Here
|
51 |
$(CC) -c $(CFLAGS:-fPIC=) -o $@ $< |
51 |
$(CC) -c $(CFLAGS:-fPIC=) -o $@ $< |
52 |
|
52 |
|
53 |
random.o: random.c |
53 |
random.o: random.c |
54 |
$(CC) -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding random.c |
54 |
$(CC) -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -nopie random.c |
55 |
|
55 |
|
56 |
clean: |
56 |
clean: |
57 |
rm -f *.o *.s *.iso memtest.bin memtest memtest_shared \ |
57 |
rm -f *.o *.s *.iso memtest.bin memtest memtest_shared \ |