1 |
spock 08/09/28 11:00:46 |
2 |
|
3 |
Modified: memtest86-3.4-build.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-3.4-build.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86/files/memtest86-3.4-build.patch?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86/files/memtest86-3.4-build.patch?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86/files/memtest86-3.4-build.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: memtest86-3.4-build.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/memtest86/files/memtest86-3.4-build.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- memtest86-3.4-build.patch 19 Jan 2008 22:11:00 -0000 1.1 |
22 |
+++ memtest86-3.4-build.patch 28 Sep 2008 11:00:46 -0000 1.2 |
23 |
@@ -1,10 +1,13 @@ |
24 |
---- Makefile |
25 |
-+++ Makefile |
26 |
-@@ -11,7 +11,10 @@ |
27 |
+diff -Naurp memtest86-3.4-orig/Makefile memtest86-3.4/Makefile |
28 |
+--- memtest86-3.4-orig/Makefile 2008-09-28 12:56:45.000000000 +0200 |
29 |
++++ memtest86-3.4/Makefile 2008-09-28 12:57:35.000000000 +0200 |
30 |
+@@ -10,8 +10,11 @@ FDISK=/dev/fd0 |
31 |
+ |
32 |
CC=gcc |
33 |
|
34 |
- CFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin \ |
35 |
+-CFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin \ |
36 |
- -ffreestanding -fPIC |
37 |
++CFLAGS=-Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin \ |
38 |
+ -ffreestanding -fPIC -fno-stack-protector |
39 |
+AS=$(CC) -c |
40 |
+ASFLAGS=-m32 |
41 |
@@ -12,7 +15,7 @@ |
42 |
|
43 |
OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \ |
44 |
config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o \ |
45 |
-@@ -41,8 +42,7 @@ |
46 |
+@@ -41,8 +44,7 @@ reloc.o: reloc.c |
47 |
$(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.c |
48 |
|
49 |
test.o: test.c |