summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config-generic2
-rw-r--r--kernel.spec3
2 files changed, 4 insertions, 1 deletions
diff --git a/config-generic b/config-generic
index ae510f359..9b81856b5 100644
--- a/config-generic
+++ b/config-generic
@@ -3764,7 +3764,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 1e214c89b..3c70f6642 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2060,6 +2060,9 @@ fi
- Install vdso on s390/s390x.
- Fedora 8 was a very long time ago... fancy_debuginfo turns into
with_debuginfo in the glorious future.
+- Disable CONFIG_CC_OPTIMIZE_FOR_SIZE, upstream consensus is -O2 has
+ generated better code than -Os for a while
+ (https://lkml.org/lkml/2009/11/26/57)
* Wed Oct 26 2011 Josh Boyer <jwboyer@redhat.com>
- CVE-2011-4077: xfs: potential buffer overflow in xfs_readlink() (rhbz 749166)