[Openvas-commits] r11628 - trunk/openvas-manager

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Sep 19 09:03:55 CEST 2011


Author: mwiegand
Date: 2011-09-19 09:03:54 +0200 (Mon, 19 Sep 2011)
New Revision: 11628

Modified:
   trunk/openvas-manager/CMakeLists.txt
   trunk/openvas-manager/ChangeLog
Log:
* CMakeLists.txt: Add -D_FILE_OFFSET_BITS=64 to the default flags to
  improve support for large files on 32-bit platforms.


Modified: trunk/openvas-manager/CMakeLists.txt
===================================================================
--- trunk/openvas-manager/CMakeLists.txt	2011-09-16 16:32:38 UTC (rev 11627)
+++ trunk/openvas-manager/CMakeLists.txt	2011-09-19 07:03:54 UTC (rev 11628)
@@ -246,7 +246,7 @@
 set (HARDENING_FLAGS            "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now")
 
 set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG}")
-set (CMAKE_C_FLAGS              "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -Werror -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE")
+set (CMAKE_C_FLAGS              "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -Werror -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_FILE_OFFSET_BITS=64")
 
 add_subdirectory (src)
 

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2011-09-16 16:32:38 UTC (rev 11627)
+++ trunk/openvas-manager/ChangeLog	2011-09-19 07:03:54 UTC (rev 11628)
@@ -1,3 +1,8 @@
+2011-09-19  Michael Wiegand <michael.wiegand at greenbone.net>
+
+	* CMakeLists.txt: Add -D_FILE_OFFSET_BITS=64 to the default flags to
+	improve support for large files on 32-bit platforms.
+
 2011-09-15  Matthew Mundell <matthew.mundell at greenbone.net>
 
 	Add host filters to GET_REPORT for prognostic case.



More information about the Openvas-commits mailing list