1 |
commit: 04a10ed311201d252062abf1c5243bec236bb563 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 10 08:43:16 2016 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 10 08:43:16 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a10ed3 |
7 |
|
8 |
sys-boot/palo: Fix toolchain patch. |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
sys-boot/palo/files/palo-1.96-toolchain.patch | 22 +++++++++++++++++++++- |
13 |
1 file changed, 21 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/sys-boot/palo/files/palo-1.96-toolchain.patch b/sys-boot/palo/files/palo-1.96-toolchain.patch |
16 |
index e0ea926..5b9e792 100644 |
17 |
--- a/sys-boot/palo/files/palo-1.96-toolchain.patch |
18 |
+++ b/sys-boot/palo/files/palo-1.96-toolchain.patch |
19 |
@@ -1,6 +1,26 @@ |
20 |
--- a/palo/Makefile |
21 |
+++ b/palo/Makefile |
22 |
-@@ -34,7 +33,7 @@ |
23 |
+@@ -10,9 +10,9 @@ |
24 |
+ OS := $(shell uname -s) |
25 |
+ CC?=cc |
26 |
+ ifeq ($(strip ${OS}),HP-UX) |
27 |
+-CFLAGS=-g -O -I../include -I../lib -I$(PA)/include |
28 |
++CFLAGS=-O -I../include -I../lib -I$(PA)/include |
29 |
+ else |
30 |
+-CFLAGS=-g -O -I../include -I../lib -D_FILE_OFFSET_BITS=64 |
31 |
++CFLAGS=-O -I../include -I../lib -D_FILE_OFFSET_BITS=64 |
32 |
+ endif |
33 |
+ |
34 |
+ ifneq ("$(wildcard /etc/debian_version)","") |
35 |
+@@ -22,7 +22,6 @@ |
36 |
+ endif |
37 |
+ |
38 |
+ # LDFLAGS=-Wl,-Bstatic |
39 |
+-LDFLAGS= |
40 |
+ |
41 |
+ OFILES2=mkbootable.o elf64.o load.o paloio.o elf32.o error.o gzip.o |
42 |
+ |
43 |
+@@ -38,7 +37,7 @@ |
44 |
$(CC) $(CFLAGS) $(LDFLAGS) -o palo palo.a build.o |
45 |
|
46 |
palo.a: $(OFILES) |