22 lines
857 B
Diff
22 lines
857 B
Diff
--- xen-4.17.1/tools/python/Makefile.orig 2023-04-27 13:53:19.000000000 +0100
|
|
+++ xen-4.17.1/tools/python/Makefile 2023-06-22 22:21:25.287486906 +0100
|
|
@@ -4,7 +4,7 @@
|
|
.PHONY: all
|
|
all: build
|
|
|
|
-PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS)
|
|
+PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS) -Wno-error=declaration-after-statement
|
|
PY_LDFLAGS = $(SHLIB_LDFLAGS) $(APPEND_LDFLAGS)
|
|
INSTALL_LOG = build/installed_files.txt
|
|
|
|
--- xen-4.17.1/tools/pygrub/Makefile.orig 2023-04-27 13:53:19.000000000 +0100
|
|
+++ xen-4.17.1/tools/pygrub/Makefile 2023-06-22 22:52:52.803047401 +0100
|
|
@@ -2,7 +2,7 @@
|
|
XEN_ROOT = $(CURDIR)/../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
-PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS)
|
|
+PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS) -Wno-error=declaration-after-statement
|
|
PY_LDFLAGS = $(SHLIB_LDFLAGS) $(APPEND_LDFLAGS)
|
|
INSTALL_LOG = build/installed_files.txt
|
|
|