From: | "Michael Januszewski (spock)" <spock@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/memtest86+/files: memtest86+-2.01-hardcoded_cc.patch |
Date: | Sun, 28 Sep 2008 10:54:26 |
Message-Id: | E1Kjtux-0004XD-VL@stork.gentoo.org |
1 | spock 08/09/28 10:54:23 |
2 | |
3 | Modified: memtest86+-2.01-hardcoded_cc.patch |
4 | Log: |
5 | Compile memtest86+ with -O1 instead of -Os (bug #217324). |
6 | (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc6 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.2 sys-apps/memtest86+/files/memtest86+-2.01-hardcoded_cc.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86+/files/memtest86+-2.01-hardcoded_cc.patch?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86+/files/memtest86+-2.01-hardcoded_cc.patch?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86+/files/memtest86+-2.01-hardcoded_cc.patch?r1=1.1&r2=1.2 |
14 | |
15 | Index: memtest86+-2.01-hardcoded_cc.patch |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/files/memtest86+-2.01-hardcoded_cc.patch,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -u -r1.1 -r1.2 |
21 | --- memtest86+-2.01-hardcoded_cc.patch 11 Mar 2008 20:14:20 -0000 1.1 |
22 | +++ memtest86+-2.01-hardcoded_cc.patch 28 Sep 2008 10:54:23 -0000 1.2 |
23 | @@ -10,7 +10,7 @@ |
24 | - |
25 | -CFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC |
26 | +CPPFLAGS=-m32 |
27 | -+CFLAGS=-Wall -m32 -march=i486 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector |
28 | ++CFLAGS=-Wall -m32 -march=i486 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector |
29 | +ASFLAGS=-32 |
30 | |
31 | OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \ |
32 | @@ -24,7 +24,7 @@ |
33 | |
34 | test.o: test.c |
35 | - $(CC) -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding test.c |
36 | -+ $(CC) -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -fno-pie -nopie test.c |
37 | ++ $(CC) -c -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -fno-pie -nopie test.c |
38 | |
39 | clean: |
40 | rm -f *.o *.s *.iso memtest.bin memtest memtest_shared memtest_shared.bin |