|
|
3913e55 |
gcc5 gives array-bounds warning on xen/common/symbols.c
|
|
|
3913e55 |
also maybe-uninitialized warning on xen/xsm/flask/ss/policydb.c
|
|
|
3913e55 |
|
|
|
3913e55 |
--- xen-4.5.0/xen/common/Makefile.orig 2015-01-12 16:53:24.000000000 +0000
|
|
|
3913e55 |
+++ xen-4.5.0/xen/common/Makefile 2015-02-14 15:40:29.722759007 +0000
|
|
|
3913e55 |
@@ -72,3 +72,5 @@
|
|
|
3913e55 |
|
|
|
3913e55 |
subdir-y += libelf
|
|
|
3913e55 |
subdir-$(HAS_DEVICE_TREE) += libfdt
|
|
|
3913e55 |
+
|
|
|
3913e55 |
+CFLAGS += -Wno-error=array-bounds
|
|
|
3913e55 |
--- xen-4.5.0/xen/xsm/flask/Makefile.orig 2015-01-12 16:53:24.000000000 +0000
|
|
|
3913e55 |
+++ xen-4.5.0/xen/xsm/flask/Makefile 2015-02-14 16:49:54.376183206 +0000
|
|
|
3913e55 |
@@ -5,6 +5,7 @@
|
|
|
3913e55 |
subdir-y += ss
|
|
|
3913e55 |
|
|
|
3913e55 |
CFLAGS += -I./include
|
|
|
3913e55 |
+CFLAGS += -Wno-error=maybe-uninitialized
|
|
|
3913e55 |
|
|
|
3913e55 |
AWK = awk
|
|
|
3913e55 |
|