1 |
vapier 14/03/27 03:13:47 |
2 |
|
3 |
Added: libaio-0.3.110-cppflags.patch |
4 |
libaio-0.3.110-optional-werror.patch |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 dev-libs/libaio/files/libaio-0.3.110-cppflags.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/files/libaio-0.3.110-cppflags.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/files/libaio-0.3.110-cppflags.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: libaio-0.3.110-cppflags.patch |
17 |
=================================================================== |
18 |
From 3bf96bb62370035dba18d4b25459406b32365cfc Mon Sep 17 00:00:00 2001 |
19 |
From: Mike Frysinger <vapier@g.o> |
20 |
Date: Wed, 26 Mar 2014 23:10:18 -0400 |
21 |
Subject: [PATCH] respect env CPPFLAGS |
22 |
|
23 |
Signed-off-by: Mike Frysinger <vapier@g.o> |
24 |
--- |
25 |
src/Makefile | 1 + |
26 |
1 file changed, 1 insertion(+) |
27 |
|
28 |
diff --git a/src/Makefile b/src/Makefile |
29 |
index 49f448f..b918c8b 100644 |
30 |
--- a/src/Makefile |
31 |
+++ b/src/Makefile |
32 |
@@ -5,6 +5,7 @@ usrlibdir=$(libdir) |
33 |
|
34 |
CFLAGS ?= -g -fomit-frame-pointer -O2 |
35 |
CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC |
36 |
+CFLAGS += $(CPPFLAGS) |
37 |
SO_CFLAGS=-shared $(CFLAGS) |
38 |
L_CFLAGS=$(CFLAGS) |
39 |
LINK_FLAGS= |
40 |
-- |
41 |
1.9.1 |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: libaio-0.3.110-optional-werror.patch |
52 |
=================================================================== |
53 |
From 0cc7dc108d0b2288b40d82bb2fd1fd8bdc08f764 Mon Sep 17 00:00:00 2001 |
54 |
From: Mike Frysinger <vapier@g.o> |
55 |
Date: Wed, 26 Mar 2014 23:07:58 -0400 |
56 |
Subject: [PATCH] make -Werror into an optional flag |
57 |
|
58 |
This lets distros disable the flag as random errors might come up with |
59 |
different compiler flags and older/newer toolchain versions. |
60 |
|
61 |
Signed-off-by: Mike Frysinger <vapier@g.o> |
62 |
--- |
63 |
harness/Makefile | 3 ++- |
64 |
1 file changed, 2 insertions(+), 1 deletion(-) |
65 |
|
66 |
diff --git a/harness/Makefile b/harness/Makefile |
67 |
index 2a88e71..cf8c90d 100644 |
68 |
--- a/harness/Makefile |
69 |
+++ b/harness/Makefile |
70 |
@@ -6,7 +6,8 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS) |
71 |
HARNESS_SRCS:=main.c |
72 |
# io_queue.c |
73 |
|
74 |
-CFLAGS+=-Wall -Werror -I../src -g -O |
75 |
+CFLAGS_WERROR?=-Werror |
76 |
+CFLAGS+=-Wall $(CFLAGS_WERROR) -I../src -g -O |
77 |
#-lpthread -lrt |
78 |
|
79 |
all: $(PROGS) |
80 |
-- |
81 |
1.9.1 |