aboutsummaryrefslogtreecommitdiffstats
path: root/testing/u-boot-s5p6818/kbuild.patch
blob: f14c0411d04a4adc6ba3684fd3bcfc073520c254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/scripts/Kbuild.include	2017-12-06 09:44:35.000000000 -0600
+++ b/scripts/Kbuild.include	2019-05-03 18:52:42.000000000 -0500
@@ -113,12 +113,12 @@
 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
 
 cc-option = $(call try-run,\
-	$(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(1) -c -x c /dev/null -o "$$TMP",$(1),$(2))
+	$(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(1) -c -x c /dev/null -o "$$TMP",$(1),$(2))
 
 # cc-option-yn
 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
 cc-option-yn = $(call try-run,\
-	$(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(1) -c -x c /dev/null -o "$$TMP",y,n)
+	$(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(1) -c -x c /dev/null -o "$$TMP",y,n)
 
 # cc-option-align
 # Prefix align with either -falign or -malign