Disable CC_OPTIMIZE_FOR_SIZE on config-generic

This commit is contained in:
Kyle McMartin 2011-10-26 13:13:47 -04:00
parent 00f7e867d9
commit d54f6ca992
2 changed files with 4 additions and 1 deletions

View File

@ -3764,7 +3764,7 @@ CONFIG_FRAME_WARN=1024
CONFIG_MAGIC_SYSRQ=y CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_INFO=y CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=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_DEBUG_DRIVER is not set
CONFIG_HEADERS_CHECK=y CONFIG_HEADERS_CHECK=y
# CONFIG_RCU_TORTURE_TEST is not set # CONFIG_RCU_TORTURE_TEST is not set

View File

@ -2060,6 +2060,9 @@ fi
- Install vdso on s390/s390x. - Install vdso on s390/s390x.
- Fedora 8 was a very long time ago... fancy_debuginfo turns into - Fedora 8 was a very long time ago... fancy_debuginfo turns into
with_debuginfo in the glorious future. 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> * Wed Oct 26 2011 Josh Boyer <jwboyer@redhat.com>
- CVE-2011-4077: xfs: potential buffer overflow in xfs_readlink() (rhbz 749166) - CVE-2011-4077: xfs: potential buffer overflow in xfs_readlink() (rhbz 749166)