Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2a31f1d authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

Makefile: Disable undefined-optimized and add -fno-builtin



Suppress the SDLLVM specific compiler warning (undefined optimized)
for the compilation to pass. Also add -fno-builtin such that the
build doesn't pickup any compiler provided built-in functions.

Change-Id: I9507600a9286ec6aff42160d2d77733594b891de
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 1210d232
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -744,6 +744,8 @@ KBUILD_CFLAGS += -Wno-tautological-compare
# source of a reference will be _MergedGlobals and not on of the whitelisted names.
# See modpost pattern 2
KBUILD_CFLAGS += -mno-global-merge
KBUILD_CFLAGS += $(call cc-disable-warning, undefined-optimized)
KBUILD_CFLAGS += -fno-builtin
else

# These warnings generated too much noise in a regular build.