Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/memtest86+/files: memtest86+-4.20-hardcoded_cc.patch memtest86+-2.10-hardcoded_cc.patch memtest86+-4.10-hardcoded_cc.patch memtest86+-2.11-hardcoded_cc.patch
Date: Mon, 02 Jul 2012 11:02:09
Message-Id: 20120702110200.354572004B@flycatcher.gentoo.org
1 flameeyes 12/07/02 11:02:00
2
3 Added: memtest86+-4.20-hardcoded_cc.patch
4 Removed: memtest86+-2.10-hardcoded_cc.patch
5 memtest86+-4.10-hardcoded_cc.patch
6 memtest86+-2.11-hardcoded_cc.patch
7 Log:
8 Cleanup old; revbump to make the ebuild look more almost identical to the new one from memtest86; install a grub2 configuration file; limit to the 0-slot of grub for the floppy USE flag; strip during build as we can't use the splitdebug anyway.
9
10 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.1 sys-apps/memtest86+/files/memtest86+-4.20-hardcoded_cc.patch
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86+/files/memtest86+-4.20-hardcoded_cc.patch?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86+/files/memtest86+-4.20-hardcoded_cc.patch?rev=1.1&content-type=text/plain
17
18 Index: memtest86+-4.20-hardcoded_cc.patch
19 ===================================================================
20 diff -Naurp memtest86+-4.10-orig/Makefile memtest86+-4.10/Makefile
21 --- memtest86+-4.10-orig/Makefile 2010-06-24 00:27:22.864634431 +0200
22 +++ memtest86+-4.10/Makefile 2010-06-24 00:28:42.402478590 +0200
23 @@ -8,10 +8,9 @@
24 #
25 FDISK=/dev/fd0
26
27 -AS=as -32
28 -CC=gcc
29 -
30 -CFLAGS= -Wall -march=i486 -m32 -O2 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector
31 +CFLAGS=-Wall -march=i486 -m32 -O2 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector
32 +CPPFLAGS=-m32
33 +ASFLAGS=-32
34
35 OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \
36 config.o linuxbios.o memsize.o pci.o controller.o random.o spd.o \
37 @@ -47,10 +46,10 @@ memtest.bin: memtest_shared.bin bootsect
38 memtest_shared.bin -o memtest.bin
39
40 reloc.o: reloc.c
41 - $(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.c
42 + $(CC) -c $(CFLAGS) -fno-strict-aliasing -fno-stack-protector reloc.c
43
44 test.o: test.c
45 - $(CC) -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding test.c
46 + $(CC) -c -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -fno-pie test.c
47
48 clean:
49 rm -f *.o *.s *.iso memtest.bin memtest memtest_shared memtest_shared.bin