blob: bdef8a6eb494b219d0f07c1f835a3f1ee8db1912 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From bbae65cff977568549efe03f05b2ef16cd283550 Mon Sep 17 00:00:00 2001
From: "Jory A. Pratt" <anarchy@gentoo.org>
Date: Sun, 8 Oct 2017 08:47:25 -0500
Subject: [PATCH 1/2] Strip all optimization, let portage handle.
Signed-off-by: Jory A. Pratt <anarchy@gentoo.org>
---
configure.ac | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1551ded..2f47067 100644
--- a/configure.ac
+++ b/configure.ac
@@ -976,21 +976,6 @@ if test "x$enable_debug" = "x1" ; then
fi
AC_SUBST([enable_debug])
-dnl Only optimize if not debugging.
-if test "x$enable_debug" = "x0" ; then
- if test "x$GCC" = "xyes" ; then
- JE_CFLAGS_ADD([-O3])
- JE_CXXFLAGS_ADD([-O3])
- JE_CFLAGS_ADD([-funroll-loops])
- elif test "x$je_cv_msvc" = "xyes" ; then
- JE_CFLAGS_ADD([-O2])
- JE_CXXFLAGS_ADD([-O2])
- else
- JE_CFLAGS_ADD([-O])
- JE_CXXFLAGS_ADD([-O])
- fi
-fi
-
dnl Enable statistics calculation by default.
AC_ARG_ENABLE([stats],
[AS_HELP_STRING([--disable-stats],
--
2.14.2
|