diff options
author | Robert Buchholz <rbu@gentoo.org> | 2009-01-07 15:09:31 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2009-01-07 15:09:31 +0000 |
commit | 6f17d77b259b1e96dffd40f9dcdf84f6649a3586 (patch) | |
tree | 92e62be3a56632639529ea3ca339bf2b4a770701 /net-wireless/iw/files/iw-0.9.7-cflags.patch | |
parent | Marking ant-junit4-1.7.1 ppc64 for bug 252819 (diff) | |
download | gentoo-2-6f17d77b259b1e96dffd40f9dcdf84f6649a3586.tar.gz gentoo-2-6f17d77b259b1e96dffd40f9dcdf84f6649a3586.tar.bz2 gentoo-2-6f17d77b259b1e96dffd40f9dcdf84f6649a3586.zip |
Version bump from obsolete version of the code to an actual release (bug
(Portage version: 2.1.6.4/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'net-wireless/iw/files/iw-0.9.7-cflags.patch')
-rw-r--r-- | net-wireless/iw/files/iw-0.9.7-cflags.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-wireless/iw/files/iw-0.9.7-cflags.patch b/net-wireless/iw/files/iw-0.9.7-cflags.patch new file mode 100644 index 000000000000..6fbebd437c2b --- /dev/null +++ b/net-wireless/iw/files/iw-0.9.7-cflags.patch @@ -0,0 +1,26 @@ +From da069ce18c72ec1bf2a15121a0aefb69a6756490 Mon Sep 17 00:00:00 2001 +From: Robert Buchholz <rbu@goodpoint.de> +Date: Wed, 7 Jan 2009 15:46:13 +0100 +Subject: [PATCH] Do not set -O2 -g CFLAGS if CFLAGS are already defined (in the env). + +--- + Makefile | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/Makefile b/Makefile +index 8a97bae..5a0385b 100644 +--- a/Makefile ++++ b/Makefile +@@ -10,8 +10,8 @@ MKDIR ?= mkdir -p + INSTALL ?= install + CC ?= "gcc" + ++CFLAGS ?= -O2 -g + CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration `pkg-config --cflags libnl-1` +-CFLAGS += -O2 -g + LIBS += `pkg-config --libs libnl-1` + NLVERSION = 1.0 + +-- +1.6.0.4 + |