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

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


commit acb2fd5ebea7272bb64fc64fb34870b47238ef91
Author: Dave Jones <davej at redhat.com>
Date:   Mon Dec 5 16:02:54 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 65c01a8..0fc16d8 100644
--- a/config-generic
+++ b/config-generic
@@ -3770,7 +3770,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 878fd22..8012cb2 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2194,6 +2194,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