mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Makefile: Remove obsolete -fno-builtin flag
CAF cherry-picked an obsolete LLVMLinux patch from 2014 in commit 96d47aed062d6b0940aa575d6b5b6cd8ccfdbef9 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. Signed-off-by: Danny Lin <danny@kdrag0n.dev> Signed-off-by: azrim <mirzaspc@gmail.com>
This commit is contained in:
parent
51e7ae0568
commit
cb40ad914d
1
Makefile
1
Makefile
@ -785,7 +785,6 @@ ifeq ($(cc-name),clang)
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier)
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, duplicate-decl-specifier)
|
||||
KBUILD_CFLAGS += -fno-builtin
|
||||
KBUILD_CFLAGS += $(call cc-option, -Wno-undefined-optimized)
|
||||
KBUILD_CFLAGS += $(call cc-option, -Wno-tautological-constant-out-of-range-compare)
|
||||
KBUILD_CFLAGS += $(call cc-option, -mllvm -disable-struct-const-merge)
|
||||
|
Loading…
x
Reference in New Issue
Block a user