[kernel/f15] Switch from -Os to -O2

Dave Jones davej at fedoraproject.org
Mon Dec 5 21:03:41 UTC 2011


commit 0564a406004264be297c0f430271321192d3457b
Author: Dave Jones <davej at redhat.com>
Date:   Mon Dec 5 16:03:32 2011 -0500

    Switch from -Os to -O2

 config-generic |    2 +-
 kernel.spec    |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/config-generic b/config-generic
index 162e670..f9acd19 100644
--- a/config-generic
+++ b/config-generic
@@ -3778,7 +3778,7 @@ CONFIG_FRAME_WARN=1024
 CONFIG_MAGIC_SYSRQ=y
 CONFIG_DEBUG_INFO=y
 CONFIG_FRAME_POINTER=y
-CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 # CONFIG_DEBUG_DRIVER is not set
 CONFIG_HEADERS_CHECK=y
 # CONFIG_RCU_TORTURE_TEST is not set
diff --git a/kernel.spec b/kernel.spec
index 230e5b4..38bdb41 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1896,6 +1896,9 @@ fi
 # and build.
 
 %changelog
+* Mon Dec 05 2011 Dave Jones <davej at redhat.com>
+- Switch from -Os to -O2
+
 * Thu Dec 01 2011 Josh Boyer <jwboyer at redhat.com>
 - Apply patch to revert mac80211 scan optimizations (rhbz #731365)
 - Disable the existing brcm80211 staging drivers (rhbz #759109)


More information about the scm-commits mailing list