[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [PATCH] use-large-file-api.patch



ChangeSet 1.1349, 2005/04/21 01:16:35+01:00, arun.sharma@xxxxxxxxx

        [PATCH] use-large-file-api.patch
        
        Support > 2G root fs on i386.
        
        Signed-off-by: Xin B Li <xin.b.li@xxxxxxxxx>
        Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>
        Signed-off-by: ian@xxxxxxxxxxxxx



 Makefile |    6 ++++++
 1 files changed, 6 insertions(+)


diff -Nru a/tools/ioemu/iodev/Makefile b/tools/ioemu/iodev/Makefile
--- a/tools/ioemu/iodev/Makefile        2005-04-20 21:03:23 -04:00
+++ b/tools/ioemu/iodev/Makefile        2005-04-20 21:03:23 -04:00
@@ -3,6 +3,12 @@
  
 TOPDIR= ..
 CXXFLAGS=-I. -I../include -I..
+
+ARCH=$(shell uname -i)
+ifeq ($(ARCH), i386)
+CXXFLAGS+=-D_FILE_OFFSET_BITS=64
+endif
+
 OBJS=$(patsubst %.cc,%.o,$(wildcard *.cc))
 BXLIBS = ../gui/libgui.a ../memory/libmemory.a  
 LDLIBS= $(BXLIBS) $(X11_LDPATH) -lX11 -lXpm -lstdc++ -L../../../tools/libxc 
-L../../../tools/libxutil -lxc -lxutil -lpthread -lncurses 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.