[Openvas-commits] r8212 - in trunk/openvas-libraries: . base hg misc nasl omp

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jun 28 10:19:58 CEST 2010


Author: mwiegand
Date: 2010-06-28 10:19:55 +0200 (Mon, 28 Jun 2010)
New Revision: 8212

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/base/CMakeLists.txt
   trunk/openvas-libraries/hg/CMakeLists.txt
   trunk/openvas-libraries/misc/CMakeLists.txt
   trunk/openvas-libraries/nasl/CMakeLists.txt
   trunk/openvas-libraries/omp/CMakeLists.txt
Log:
* base/CMakeLists.txt, hg/CMakeLists.txt, misc/CMakeLists.txt,
  nasl/CMakeLists.txt, omp/CMakeLists.txt: Removed redundant compiler
  flags from CMAKE_C_FLAGS_DEBUG; CMAKE_C_FLAGS will be passed to the
  compiler in any case, so there is no need to put the flags into
  CMAKE_C_FLAGS_DEBUG as well


Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog	2010-06-28 08:01:16 UTC (rev 8211)
+++ trunk/openvas-libraries/ChangeLog	2010-06-28 08:19:55 UTC (rev 8212)
@@ -1,5 +1,13 @@
 2010-06-28  Michael Wiegand <michael.wiegand at greenbone.net>
 
+	* base/CMakeLists.txt, hg/CMakeLists.txt, misc/CMakeLists.txt,
+	nasl/CMakeLists.txt, omp/CMakeLists.txt: Removed redundant compiler
+	flags from CMAKE_C_FLAGS_DEBUG; CMAKE_C_FLAGS will be passed to the
+	compiler in any case, so there is no need to put the flags into
+	CMAKE_C_FLAGS_DEBUG as well.
+
+2010-06-28  Michael Wiegand <michael.wiegand at greenbone.net>
+
 	* misc/plugutils.c (get_plugin_preference_file_content): Removed
 	superfluous const qualifier from return type.
 

Modified: trunk/openvas-libraries/base/CMakeLists.txt
===================================================================
--- trunk/openvas-libraries/base/CMakeLists.txt	2010-06-28 08:01:16 UTC (rev 8211)
+++ trunk/openvas-libraries/base/CMakeLists.txt	2010-06-28 08:19:55 UTC (rev 8212)
@@ -140,7 +140,7 @@
 ## Library
 
 if (NOT MINGW)
-  set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG} -Werror -Wall -fPIC")
+  set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG}")
   set (CMAKE_C_FLAGS              "${CMAKE_C_FLAGS} -Wall -Werror -fPIC")
 endif (NOT MINGW)
 

Modified: trunk/openvas-libraries/hg/CMakeLists.txt
===================================================================
--- trunk/openvas-libraries/hg/CMakeLists.txt	2010-06-28 08:01:16 UTC (rev 8211)
+++ trunk/openvas-libraries/hg/CMakeLists.txt	2010-06-28 08:19:55 UTC (rev 8212)
@@ -137,7 +137,7 @@
 
 # Library
 
-set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG} -Wall -fPIC")
+set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG}")
 set (CMAKE_C_FLAGS              "${CMAKE_C_FLAGS} -Wall -fPIC")
 
 set (FILES hg_add_hosts.c hg_debug.c hg_dns_axfr.c hg_filter.c hg_subnet.c 

Modified: trunk/openvas-libraries/misc/CMakeLists.txt
===================================================================
--- trunk/openvas-libraries/misc/CMakeLists.txt	2010-06-28 08:01:16 UTC (rev 8211)
+++ trunk/openvas-libraries/misc/CMakeLists.txt	2010-06-28 08:19:55 UTC (rev 8212)
@@ -179,7 +179,7 @@
 # Library
 
 message ("-- prepare for add libraries ...")
-set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG} -Wall -fPIC")
+set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG}")
 set (CMAKE_C_FLAGS              "${CMAKE_C_FLAGS} -Wall -fPIC")
 
 if (MINGW)

Modified: trunk/openvas-libraries/nasl/CMakeLists.txt
===================================================================
--- trunk/openvas-libraries/nasl/CMakeLists.txt	2010-06-28 08:01:16 UTC (rev 8211)
+++ trunk/openvas-libraries/nasl/CMakeLists.txt	2010-06-28 08:19:55 UTC (rev 8212)
@@ -134,7 +134,7 @@
 
 ## Library
 
-set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG} -Wall")
+set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG}")
 # The "-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1" is necessary for GPGME!
 set (CMAKE_C_FLAGS              "${CMAKE_C_FLAGS} -Wall -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1")
 

Modified: trunk/openvas-libraries/omp/CMakeLists.txt
===================================================================
--- trunk/openvas-libraries/omp/CMakeLists.txt	2010-06-28 08:01:16 UTC (rev 8211)
+++ trunk/openvas-libraries/omp/CMakeLists.txt	2010-06-28 08:19:55 UTC (rev 8212)
@@ -134,7 +134,7 @@
 
 ## Library
 
-set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG} -Wall")
+set (CMAKE_C_FLAGS_DEBUG        "${CMAKE_C_FLAGS_DEBUG}")
 set (CMAKE_C_FLAGS              "${CMAKE_C_FLAGS} -Wall")
 
 set (FILES xml.c omp.c)



More information about the Openvas-commits mailing list