2007-08-18 12:16:49 +02:00
|
|
|
Index: xen-3.1-testing/Config.mk
|
2007-01-16 00:42:10 +01:00
|
|
|
===================================================================
|
2007-08-18 12:16:49 +02:00
|
|
|
--- xen-3.1-testing.orig/Config.mk
|
|
|
|
+++ xen-3.1-testing/Config.mk
|
2007-04-26 01:53:07 +02:00
|
|
|
@@ -18,7 +18,7 @@ SHELL ?= /bin/sh
|
2007-01-16 00:42:10 +01:00
|
|
|
|
|
|
|
# Tools to run on system hosting the build
|
|
|
|
HOSTCC = gcc
|
|
|
|
-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
|
|
|
|
+HOSTCFLAGS:= -Wall -Werror -Wstrict-prototypes $(RPM_OPT_FLAGS)
|
|
|
|
|
2007-02-11 11:48:10 +01:00
|
|
|
DISTDIR ?= $(XEN_ROOT)/dist
|
|
|
|
DESTDIR ?= /
|
2007-08-18 12:16:49 +02:00
|
|
|
Index: xen-3.1-testing/tools/libxen/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- xen-3.1-testing.orig/tools/libxen/Makefile
|
|
|
|
+++ xen-3.1-testing/tools/libxen/Makefile
|
|
|
|
@@ -21,10 +21,10 @@ include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
MAJOR = 1.0
|
|
|
|
MINOR = 0
|
|
|
|
|
|
|
|
-CFLAGS = -Iinclude \
|
|
|
|
+CFLAGS += -Iinclude \
|
|
|
|
$(shell xml2-config --cflags) \
|
|
|
|
$(shell curl-config --cflags) \
|
|
|
|
- -W -Wall -Wmissing-prototypes -Werror -std=c99 -O2 -fPIC
|
|
|
|
+ -std=c99 -fPIC
|
|
|
|
|
|
|
|
LDFLAGS = $(shell xml2-config --libs) \
|
|
|
|
$(shell curl-config --libs)
|