diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-02-06 18:56:14 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-02-06 18:56:14 +0000 |
commit | 09776c8dea251b529e30cf4f7d53dd2bb2e4966b (patch) | |
tree | a5cbf6c290747a5ae4953ef4beffab276ed0e597 /app-arch/lz4 | |
parent | Remove old. (diff) | |
download | gentoo-2-09776c8dea251b529e30cf4f7d53dd2bb2e4966b.tar.gz gentoo-2-09776c8dea251b529e30cf4f7d53dd2bb2e4966b.tar.bz2 gentoo-2-09776c8dea251b529e30cf4f7d53dd2bb2e4966b.zip |
Do not set -Os/-O3/-march=native (bug #499470).
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'app-arch/lz4')
-rw-r--r-- | app-arch/lz4/ChangeLog | 6 | ||||
-rw-r--r-- | app-arch/lz4/files/lz4-0_p106-cflags.patch | 22 | ||||
-rw-r--r-- | app-arch/lz4/lz4-0_p106-r1.ebuild | 3 |
3 files changed, 29 insertions, 2 deletions
diff --git a/app-arch/lz4/ChangeLog b/app-arch/lz4/ChangeLog index 6e47ba1a5a4f..1e48e633c286 100644 --- a/app-arch/lz4/ChangeLog +++ b/app-arch/lz4/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-arch/lz4 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/ChangeLog,v 1.9 2014/02/06 00:26:47 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/ChangeLog,v 1.10 2014/02/06 18:56:14 jer Exp $ + + 06 Feb 2014; Jeroen Roovers <jer@gentoo.org> lz4-0_p106-r1.ebuild, + +files/lz4-0_p106-cflags.patch: + Do not set -Os/-O3/-march=native (bug #499470). 06 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> lz4-0_p106-r1.ebuild: Keyword x86, amd64-linux and x86-linux diff --git a/app-arch/lz4/files/lz4-0_p106-cflags.patch b/app-arch/lz4/files/lz4-0_p106-cflags.patch new file mode 100644 index 000000000000..6fc0fbb47dd8 --- /dev/null +++ b/app-arch/lz4/files/lz4-0_p106-cflags.patch @@ -0,0 +1,22 @@ +--- a/cmake/pack/CMakeLists.txt ++++ b/cmake/pack/CMakeLists.txt +@@ -36,7 +36,7 @@ + ADD_DEFINITIONS("-Wundef")
+ ADD_DEFINITIONS("-Wcast-align")
+ ADD_DEFINITIONS("-Wno-implicit-function-declaration")
+-ADD_DEFINITIONS("-O3 -march=native -std=c99")
++ADD_DEFINITIONS("-std=c99")
+ INCLUDE_DIRECTORIES (${SRC_DIR})
+
+
+--- a/cmake/CMakeLists.txt ++++ b/cmake/CMakeLists.txt +@@ -99,7 +99,7 @@ + ADD_DEFINITIONS("-Wundef")
+ ADD_DEFINITIONS("-Wcast-align")
+ ADD_DEFINITIONS("-Wno-implicit-function-declaration")
+-ADD_DEFINITIONS("-Os -march=native -std=c99")
++ADD_DEFINITIONS("-std=c99")
+ INCLUDE_DIRECTORIES (${SRC_DIR})
+
+
diff --git a/app-arch/lz4/lz4-0_p106-r1.ebuild b/app-arch/lz4/lz4-0_p106-r1.ebuild index f7eb16ddbfa1..706bcf01dcbc 100644 --- a/app-arch/lz4/lz4-0_p106-r1.ebuild +++ b/app-arch/lz4/lz4-0_p106-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-0_p106-r1.ebuild,v 1.2 2014/02/06 00:26:47 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-0_p106-r1.ebuild,v 1.3 2014/02/06 18:56:14 jer Exp $ EAPI=5 @@ -33,6 +33,7 @@ src_prepare() { subversion_src_prepare else epatch "${FILESDIR}/${P}-install-to-bindir.patch" + epatch "${FILESDIR}/${P}-cflags.patch" fi cmake-utils_src_prepare } |