diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-01 09:52:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-01 11:46:55 +0000 |
commit | 52fb76dcc814e3947e706a62a931c20ab3b80faa (patch) | |
tree | fcf964e97971954041fdcdc3714b5c22f3b06205 /main/xen/gcc5-cflags.patch | |
parent | 1ef91d8e6b1d20088a2e5646544cc80c286b906e (diff) | |
download | aports-52fb76dcc814e3947e706a62a931c20ab3b80faa.tar.bz2 aports-52fb76dcc814e3947e706a62a931c20ab3b80faa.tar.xz |
main/xen: fix build with gcc5 and cleanup
Diffstat (limited to 'main/xen/gcc5-cflags.patch')
-rw-r--r-- | main/xen/gcc5-cflags.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/xen/gcc5-cflags.patch b/main/xen/gcc5-cflags.patch new file mode 100644 index 0000000000..d8e0bcdac2 --- /dev/null +++ b/main/xen/gcc5-cflags.patch @@ -0,0 +1,21 @@ +gcc5 gives array-bounds warning on xen/common/symbols.c + also maybe-uninitialized warning on xen/xsm/flask/ss/policydb.c + +--- xen-4.5.0/xen/common/Makefile.orig 2015-01-12 16:53:24.000000000 +0000 ++++ xen-4.5.0/xen/common/Makefile 2015-02-14 15:40:29.722759007 +0000 +@@ -72,3 +72,5 @@ + + subdir-y += libelf + subdir-$(HAS_DEVICE_TREE) += libfdt ++ ++CFLAGS += -Wno-error=array-bounds +--- xen-4.5.0/xen/xsm/flask/Makefile.orig 2015-01-12 16:53:24.000000000 +0000 ++++ xen-4.5.0/xen/xsm/flask/Makefile 2015-02-14 16:49:54.376183206 +0000 +@@ -5,6 +5,7 @@ + subdir-y += ss + + CFLAGS += -I./include ++CFLAGS += -Wno-error=maybe-uninitialized + + AWK = awk + |