All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] use-large-file-api.patch
@ 2005-04-21  0:06 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-04-21  0:06 UTC (permalink / raw)
  To: Ian Pratt, Keir Fraser; +Cc: xen-devel

Support > 2G root fs on i386.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-21  0:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-21  0:06 [PATCH] use-large-file-api.patch Arun Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.