[GRASS-SVN] r56700 - grass/trunk/include/Make

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jun 14 03:24:21 PDT 2013


Author: mmetz
Date: 2013-06-14 03:24:21 -0700 (Fri, 14 Jun 2013)
New Revision: 56700

Modified:
   grass/trunk/include/Make/Grass.make
   grass/trunk/include/Make/Platform.make.in
Log:
Make system: remove crude hack for global LFS

Modified: grass/trunk/include/Make/Grass.make
===================================================================
--- grass/trunk/include/Make/Grass.make	2013-06-14 10:22:56 UTC (rev 56699)
+++ grass/trunk/include/Make/Grass.make	2013-06-14 10:24:21 UTC (rev 56700)
@@ -73,11 +73,6 @@
 COMPILE_FLAGS_C    = $(CPPFLAGS) $(CFLAGS) $(INCLUDE_DIRS) $(INC)
 COMPILE_FLAGS_CXX  = $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE_DIRS) $(INC)
 
-# crude hack for vector LFS, LFS_FLAGS should be set by configure
-ifdef USE_LARGEFILES
-LFS_CFLAGS = -D_FILE_OFFSET_BITS=64
-endif
-
 LDFLAGS     =  $(LIBPATH) $(LINK_FLAGS) $(LD_SEARCH_FLAGS)
 VECT_CFLAGS =  $(GDALCFLAGS) $(GEOSCFLAGS)
 

Modified: grass/trunk/include/Make/Platform.make.in
===================================================================
--- grass/trunk/include/Make/Platform.make.in	2013-06-14 10:22:56 UTC (rev 56699)
+++ grass/trunk/include/Make/Platform.make.in	2013-06-14 10:24:21 UTC (rev 56700)
@@ -242,6 +242,7 @@
 
 #Large File Support (LFS)
 USE_LARGEFILES      = @USE_LARGEFILES@
+LFS_CFLAGS          = @LFS_CFLAGS@
 
 #BSD sockets
 HAVE_SOCKET         = @HAVE_SOCKET@



More information about the grass-commit mailing list