|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] [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>
Index: trunk/tools/ioemu/iodev/Makefile
===================================================================
--- trunk/tools/ioemu/iodev/Makefile    (revision 615)
+++ trunk/tools/ioemu/iodev/Makefile    (revision 617)
@@ -1,5 +1,11 @@
 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) -L/usr/X11R6/lib -lX11 -lXpm -lstdc++ -L 
../../../tools/libxc -L ../../../tools/libxutil -lxc -lxutil -lpthread -lncurses
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-devel] [PATCH] use-large-file-api.patch,
Arun Sharma <=
 |  |  | 
  
    |  |  |