Add -D_LARGEFILE64_SOURCE directly to the Makefile
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 20 Sep 2007 01:20:29 +0000 (01:20 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 20 Sep 2007 01:20:29 +0000 (01:20 +0000)
to avoid having to specify it on the command line

git-svn-id: svn://svn.open-ils.org/ILS/trunk@7812 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/Makefile

index 8c5bf70..f48cb21 100644 (file)
@@ -1,7 +1,7 @@
 
 export LDFLAGS                 += -L . -L$(TMP) -L $(OPENSRF_LIBS)
 export CFLAGS                  += -pipe -g -Wall -O2 -fPIC -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS) \
 
 export LDFLAGS                 += -L . -L$(TMP) -L $(OPENSRF_LIBS)
 export CFLAGS                  += -pipe -g -Wall -O2 -fPIC -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS) \
-                                                               -I$(LIBXML2_HEADERS)/libxml  -I$(TMP) -I$(OPENSRF_HEADERS) \
+                               -D_LARGEFILE64_SOURCE -I$(LIBXML2_HEADERS)/libxml  -I$(TMP) -I$(OPENSRF_HEADERS) \
                                                                -I$(OPENSRF_HEADERS)/opensrf # <-- stop-gap until opensrf compilation can be fixed with external include directory
 
 export INCDIR = "$(INCLUDEDIR)/openils/"
                                                                -I$(OPENSRF_HEADERS)/opensrf # <-- stop-gap until opensrf compilation can be fixed with external include directory
 
 export INCDIR = "$(INCLUDEDIR)/openils/"