projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59d6b42
)
disable maybe-uninitialized warnings
author
Stricted
<info@stricted.net>
Sat, 31 Mar 2018 22:55:46 +0000
(
00:55
+0200)
committer
Stricted
<info@stricted.net>
Thu, 11 Oct 2018 16:03:49 +0000
(18:03 +0200)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 48753a7d3bdb54fce3d4c6d46fe1ff22a055eca2..f811b6174afc89247381b3bc5894d064fdb9d301 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-577,8
+577,10
@@
endif # $(dot-config)
# Defaults to vmlinux, but the arch makefile usually adds further targets
all: vmlinux
+KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,)
+
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
-KBUILD_CFLAGS += -Os
$(call cc-disable-warning,maybe-uninitialized,)
+KBUILD_CFLAGS += -Os
else
KBUILD_CFLAGS += -O2
endif