mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
[PATCH] x86-64: Don't disable basic block reordering
When compiling with -Os (which is default) the compiler defaults to it anyways. And with -O2 it probably generates somewhat better (although also larger) code. Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
parent
184c44d204
commit
1652fcbf37
1 changed files with 0 additions and 3 deletions
|
|
@ -41,9 +41,6 @@ cflags-y += -mno-red-zone
|
|||
cflags-y += -mcmodel=kernel
|
||||
cflags-y += -pipe
|
||||
cflags-kernel-$(CONFIG_REORDER) += -ffunction-sections
|
||||
# this makes reading assembly source easier, but produces worse code
|
||||
# actually it makes the kernel smaller too.
|
||||
cflags-y += -fno-reorder-blocks
|
||||
cflags-y += -Wno-sign-compare
|
||||
cflags-y += -fno-asynchronous-unwind-tables
|
||||
ifneq ($(CONFIG_DEBUG_INFO),y)
|
||||
|
|
|
|||
Loading…
Reference in a new issue