From: | "Jory Pratt (anarchy)" <anarchy@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/jemalloc/files: jemalloc-strip-optimization.patch |
Date: | Thu, 30 Dec 2010 14:11:53 |
Message-Id: | 20101230141143.A198720057@flycatcher.gentoo.org |
1 | anarchy 10/12/30 14:11:43 |
2 | |
3 | Added: jemalloc-strip-optimization.patch |
4 | Log: |
5 | add jemalloc to tree |
6 | |
7 | (Portage version: 2.1.9.26/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/jemalloc/files/jemalloc-strip-optimization.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jemalloc/files/jemalloc-strip-optimization.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jemalloc/files/jemalloc-strip-optimization.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: jemalloc-strip-optimization.patch |
16 | =================================================================== |
17 | --- a/configure.ac 2010-02-22 12:07:05.000000000 +0100 |
18 | +++ b/configure.ac 2010-02-22 12:08:29.000000000 +0100 |
19 | @@ -296,21 +296,6 @@ |
20 | fi |
21 | AC_SUBST([enable_debug]) |
22 | |
23 | -dnl Only optimize if not debugging. |
24 | -if test "x$enable_debug" = "x0" -a "x$no_CFLAGS" = "xyes" ; then |
25 | - dnl Make sure that an optimization flag was not specified in EXTRA_CFLAGS. |
26 | - optimize="no" |
27 | - echo "$EXTRA_CFLAGS" | grep "\-O" >/dev/null || optimize="yes" |
28 | - if test "x${optimize}" = "xyes" ; then |
29 | - if test "x$GCC" = "xyes" ; then |
30 | - JE_CFLAGS_APPEND([-O3]) |
31 | - JE_CFLAGS_APPEND([-funroll-loops]) |
32 | - else |
33 | - JE_CFLAGS_APPEND([-O]) |
34 | - fi |
35 | - fi |
36 | -fi |
37 | - |
38 | dnl Do not enable statistics calculation by default. |
39 | AC_ARG_ENABLE([stats], |
40 | [AS_HELP_STRING([--enable-stats], [Enable statistics calculation/reporting])], |