mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
Makefile: Remove obsolete -fno-builtin flag
CAF cherry-picked an obsolete LLVMLinux patch from 2014 in commit
a2a31f1ddc that introduced this
unnecessary flag. Now that the functions used by Clang's libcall
optimizations have been implemented, we can allow Clang to perform said
optimizations for a minor performance bump in certain code paths.
Change-Id: Ifa6b731c9702973be2c656d341e33a6186ed7cf2
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
This commit is contained in:
parent
27cb5cc179
commit
2a468765ee
1 changed files with 0 additions and 1 deletions
1
Makefile
1
Makefile
|
|
@ -802,7 +802,6 @@ KBUILD_CFLAGS += -Wno-tautological-compare
|
|||
# See modpost pattern 2
|
||||
KBUILD_CFLAGS += -mno-global-merge
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, undefined-optimized)
|
||||
KBUILD_CFLAGS += -fno-builtin
|
||||
else
|
||||
|
||||
# Warn about unmarked fall-throughs in switch statement.
|
||||
|
|
|
|||
Loading…
Reference in a new issue