Skip to contentSkip to conversation

cluster configure

Cluster-devel [email protected] 1 participant 1 message Sep 14, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland at sourceware.org 2007-09-14 14:32:04

Modified files:
. : configure

Log message:
go back to default of -02 now that -Werror problems are fixed

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

configure +2 -2
@@ -136,7 +136,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 -O0 -g)\n";
+  print "--cflags=\toverride default CFLAGS settings.  (Default: -Wall -O2 -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";
@@ -180,7 +180,7 @@
 if (!$cflags) {
   $cflags="-Wall";
   if (!$debug) {
-    $cflags="${cflags} -O0";
+    $cflags="${cflags} -O2";
   } else {
     $cflags="${cflags} -O0 -DDEBUG";
   }