Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/lz4/files: lz4-0_p106-cflags.patch
Date: Thu, 06 Feb 2014 18:56:18
Message-Id: 20140206185614.663A12004E@flycatcher.gentoo.org
1 jer 14/02/06 18:56:14
2
3 Added: lz4-0_p106-cflags.patch
4 Log:
5 Do not set -Os/-O3/-march=native (bug #499470).
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.1 app-arch/lz4/files/lz4-0_p106-cflags.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/lz4/files/lz4-0_p106-cflags.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/lz4/files/lz4-0_p106-cflags.patch?rev=1.1&content-type=text/plain
14
15 Index: lz4-0_p106-cflags.patch
16 ===================================================================
17 --- a/cmake/pack/CMakeLists.txt
18 +++ b/cmake/pack/CMakeLists.txt
19 @@ -36,7 +36,7 @@
20 ADD_DEFINITIONS("-Wundef")
21 ADD_DEFINITIONS("-Wcast-align")
22 ADD_DEFINITIONS("-Wno-implicit-function-declaration")
23 -ADD_DEFINITIONS("-O3 -march=native -std=c99")
24 +ADD_DEFINITIONS("-std=c99")
25 INCLUDE_DIRECTORIES (${SRC_DIR})
26
27
28 --- a/cmake/CMakeLists.txt
29 +++ b/cmake/CMakeLists.txt
30 @@ -99,7 +99,7 @@
31 ADD_DEFINITIONS("-Wundef")
32 ADD_DEFINITIONS("-Wcast-align")
33 ADD_DEFINITIONS("-Wno-implicit-function-declaration")
34 -ADD_DEFINITIONS("-Os -march=native -std=c99")
35 +ADD_DEFINITIONS("-std=c99")
36 INCLUDE_DIRECTORIES (${SRC_DIR})