-
Notifications
You must be signed in to change notification settings - Fork 0
/
0003-gcc8.patch
27 lines (26 loc) · 1.31 KB
/
0003-gcc8.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/eurasia_km/eurasiacon/build/linux2/buildvars.mk b/eurasia_km/eurasiacon/build/linux2/buildvars.mk
index f30e467..749b3b1 100644
--- a/eurasia_km/eurasiacon/build/linux2/buildvars.mk
+++ b/eurasia_km/eurasiacon/build/linux2/buildvars.mk
@@ -90,11 +90,13 @@ TESTED_TARGET_USER_FLAGS := \
$(call cc-option,-Wno-missing-field-initializers) \
$(call cc-option,-fdiagnostics-show-option) \
$(call cc-option,-Wno-self-assign) \
+ $(call cc-option,-Wno-stringop-truncation) \
$(call cc-option,-Wno-parentheses-equality)
TESTED_HOST_USER_FLAGS := \
$(call host-cc-option,-Wno-missing-field-initializers) \
$(call host-cc-option,-fdiagnostics-show-option) \
$(call host-cc-option,-Wno-self-assign) \
+ $(call host-cc-option,-Wno-stringop-truncation) \
$(call host-cc-option,-Wno-parentheses-equality)
# These flags are clang-specific.
@@ -168,6 +170,8 @@ TESTED_KBUILD_FLAGS := \
$(call kernel-cc-option,-Wno-aggregate-return) \
$(call kernel-cc-option,-Wno-unused-but-set-variable) \
$(call kernel-cc-option,-Wno-old-style-declaration) \
+ $(call kernel-cc-option,-Wno-stringop-truncation) \
+ $(call kernel-cc-option,-Wno-error=cast-function-type) \
$(call kernel-cc-optional-warning,-Wbad-function-cast) \
$(call kernel-cc-optional-warning,-Wcast-qual) \
$(call kernel-cc-optional-warning,-Wcast-align) \