vapier      14/03/27 03:13:47

  Added:                libaio-0.3.110-cppflags.patch
                        libaio-0.3.110-optional-werror.patch
  Log:
  Version bump.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.1                  dev-libs/libaio/files/libaio-0.3.110-cppflags.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/files/libaio-0.3.110-cppflags.patch?rev=1.1&view=markup
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

Index: libaio-0.3.110-cppflags.patch
===================================================================
>From 3bf96bb62370035dba18d4b25459406b32365cfc Mon Sep 17 00:00:00 2001
From: Mike Frysinger <[email protected]>
Date: Wed, 26 Mar 2014 23:10:18 -0400
Subject: [PATCH] respect env CPPFLAGS

Signed-off-by: Mike Frysinger <[email protected]>
---
 src/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Makefile b/src/Makefile
index 49f448f..b918c8b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,6 +5,7 @@ usrlibdir=$(libdir)
 
 CFLAGS ?= -g -fomit-frame-pointer -O2
 CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC
+CFLAGS += $(CPPFLAGS)
 SO_CFLAGS=-shared $(CFLAGS)
 L_CFLAGS=$(CFLAGS)
 LINK_FLAGS=
-- 
1.9.1




1.1                  dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch

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
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

Index: libaio-0.3.110-optional-werror.patch
===================================================================
>From 0cc7dc108d0b2288b40d82bb2fd1fd8bdc08f764 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <[email protected]>
Date: Wed, 26 Mar 2014 23:07:58 -0400
Subject: [PATCH] make -Werror into an optional flag

This lets distros disable the flag as random errors might come up with
different compiler flags and older/newer toolchain versions.

Signed-off-by: Mike Frysinger <[email protected]>
---
 harness/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/harness/Makefile b/harness/Makefile
index 2a88e71..cf8c90d 100644
--- a/harness/Makefile
+++ b/harness/Makefile
@@ -6,7 +6,8 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS)
 HARNESS_SRCS:=main.c
 # io_queue.c
 
-CFLAGS+=-Wall -Werror -I../src -g -O
+CFLAGS_WERROR?=-Werror
+CFLAGS+=-Wall $(CFLAGS_WERROR) -I../src -g -O
 #-lpthread -lrt
 
 all: $(PROGS)
-- 
1.9.1





Reply via email to