[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster configure



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2007-09-06 16:24:53

Modified files:
	.              : configure 

Log message:
	go back to a default of -O0 instead of -O2 to get the stuff with -Werror
	to build

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/configure.diff?cvsroot=cluster&r1=1.27&r2=1.28

--- cluster/configure	2007/08/28 04:35:38	1.27
+++ cluster/configure	2007/09/06 16:24:53	1.28
@@ -134,7 +134,7 @@
   print "\nbuild flags:\n";
   print "--cc=\t\tcompiler to use.  (Default: gcc)\n";
   print "--debug\t\tEnable debugging build. Changes default CFLAGS to -Wall -O0 -DDEBUG -g.\n";
-  print "--cflags=\toverride default CFLAGS settings.  (Default: -Wall -O2 -g)\n";
+  print "--cflags=\toverride default CFLAGS settings.  (Default: -Wall -O -g)\n";
   print "--extracflags=\tadd extra compiler options to default CFLAGS setting.  (Default: none)\n";
   print "--ldflags=\toverride default LDFLAGS settings.  (Default: none)\n";
   print "--extraldflags=\tadd extra linking options to default LDFLAGS settings.  (Default: none)\n";
@@ -177,7 +177,7 @@
 if (!$cflags) {
   $cflags="-Wall";
   if (!$debug) {
-    $cflags="${cflags} -O2";
+    $cflags="${cflags} -O";
   } else {
     $cflags="${cflags} -O0 -DDEBUG";
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]