Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 217324
Collapse All | Expand All

(-)memtest86+-2.01-orig/Makefile (-6 / +5 lines)
Lines 8-17 Link Here
8
#
8
#
9
FDISK=/dev/fd0
9
FDISK=/dev/fd0
10
10
11
AS=as -32
11
CPPFLAGS=-m32
12
CC=gcc
12
CFLAGS=-Wall -m32 -march=i486 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector
13
13
ASFLAGS=-32
14
CFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC
15
14
16
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 \
17
      config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o \
16
      config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o \
Lines 47-56 memtest.bin: memtest_shared.bin bootsect Link Here
47
	memtest_shared.bin -o memtest.bin
46
	memtest_shared.bin -o memtest.bin
48
47
49
reloc.o: reloc.c
48
reloc.o: reloc.c
50
	$(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.c
49
	$(CC) -c $(CFLAGS) -fno-strict-aliasing -fno-stack-protector reloc.c
51
50
52
test.o: test.c
51
test.o: test.c
53
	$(CC) -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding test.c
52
	$(CC) -c -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -fno-pie -nopie test.c
54
53
55
clean:
54
clean:
56
	rm -f *.o *.s *.iso memtest.bin memtest memtest_shared memtest_shared.bin
55
	rm -f *.o *.s *.iso memtest.bin memtest memtest_shared memtest_shared.bin

Return to bug 217324