Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/lttoolbox/files: 3.2.0-flags.patch
Date: Fri, 29 Jul 2011 07:02:21
Message-Id: 20110729061109.E5BF420051@flycatcher.gentoo.org
1 bicatali 11/07/29 06:11:09
2
3 Added: 3.2.0-flags.patch
4 Log:
5 Version bump
6
7 (Portage version: 2.1.10.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-misc/lttoolbox/files/3.2.0-flags.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/lttoolbox/files/3.2.0-flags.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/lttoolbox/files/3.2.0-flags.patch?rev=1.1&content-type=text/plain
14
15 Index: 3.2.0-flags.patch
16 ===================================================================
17 diff -Nur lttoolbox-3.2.0.orig/configure.ac lttoolbox-3.2.0/configure.ac
18 --- lttoolbox-3.2.0.orig/configure.ac 2011-07-29 06:36:44.000000000 +0100
19 +++ lttoolbox-3.2.0/configure.ac 2011-07-29 06:38:04.000000000 +0100
20 @@ -51,39 +51,6 @@
21
22 # Checks for programs.
23
24 -AC_MSG_CHECKING([Compilation architecture: PPC, i686, x86_64, Other])
25 -if test x$(which arch) = x
26 -then ARCH=$($(which uname) -m)
27 -else ARCH=$($(which arch))
28 -fi
29 -
30 -if test x$ARCH = xppc
31 -then
32 - AC_MSG_RESULT([PowerPC])
33 - CFLAGS="-Wall -fomit-frame-pointer $CFLAGS"
34 - CXXFLAGS="-Wall -fomit-frame-pointer $CXXFLAGS"
35 -else
36 - if test x$ARCH = xi686
37 - then
38 - AC_MSG_RESULT([i686])
39 - CFLAGS="-Wall -march=i686 -O3 -fomit-frame-pointer -funroll-loops $CFLAGS"
40 - CXXFLAGS="-Wall -march=i686 -O3 \
41 - -fomit-frame-pointer -funroll-loops $CXXFLAGS"
42 -
43 - else
44 - if test x$ARCH = xx86_64
45 - then
46 - AC_MSG_RESULT([x86_64])
47 - CFLAGS="-Wall -O3 -mtune=nocona -fomit-frame-pointer -funroll-loops $CFLAGS"
48 - CXXFLAGS="-Wall -O3 -mtune=nocona \
49 - -fomit-frame-pointer -funroll-loops $CXXFLAGS"
50 - else
51 - AC_MSG_RESULT([Other])
52 - CFLAGS="-Wall -O3 $CFLAGS"
53 - CXXFLAGS="-Wall -O3 $CXXFLAGS"
54 - fi
55 - fi
56 -fi
57
58 AC_CANONICAL_HOST