]> git.pld-linux.org Git - packages/xen.git/blobdiff - xen-gcc.patch
- fix hvmloader (added -O1) for gcc 4.6
[packages/xen.git] / xen-gcc.patch
index d3a8c71a49bc88e9c754d4c14ece4755aab5203f..75d3a3f863ad9b1265640be1ec7169990ed62784 100644 (file)
      int i;
  
      for (i = 0; i < NR_FORMAT_TYPE; i++) {
+diff -uNr xen-3.4.3.old/tools/xenstat/xentop/Makefile xen-3.4.3/tools/xenstat/xentop/Makefile
+--- xen-3.4.3.old/tools/xenstat/xentop/Makefile        2010-06-03 19:42:38.000000000 +0200
++++ xen-3.4.3/tools/xenstat/xentop/Makefile    2011-10-23 21:06:28.194802016 +0200
+@@ -18,7 +18,7 @@
+ all install xentop:
+ else
+-CFLAGS += -DGCC_PRINTF -Wall -Werror -I$(XEN_LIBXENSTAT)
++CFLAGS += -DGCC_PRINTF -Wall -I$(XEN_LIBXENSTAT)
+ LDFLAGS += -L$(XEN_LIBXENSTAT)
+ LDLIBS += -lxenstat $(CURSES_LIBS) $(SOCKET_LIBS)
+ CFLAGS += -DHOST_$(XEN_OS)
+diff -uNr xen-3.4.3.old/tools/firmware/Rules.mk xen-3.4.3/tools/firmware/Rules.mk
+--- xen-3.4.3.old/tools/firmware/Rules.mk      2010-06-03 19:42:28.000000000 +0200
++++ xen-3.4.3/tools/firmware/Rules.mk  2011-10-25 11:34:59.570970994 +0200
+@@ -18,4 +18,4 @@
+ $(call cc-option-add,CFLAGS,CC,-fno-stack-protector-all)
+ # Extra CFLAGS suitable for an embedded type of environment.
+-CFLAGS += -fno-builtin -msoft-float
++CFLAGS += -fno-builtin -msoft-float -O1
This page took 0.036579 seconds and 4 git commands to generate.