Make xfstests build use -O2 by default.

Merge of master-melb:xfs-cmds:25677a by kenmcd.
This commit is contained in:
Nathan Scott
2006-04-05 03:55:41 +00:00
parent 86f92b45a6
commit af59350a27
3 changed files with 6 additions and 8 deletions
Vendored
+1 -1
View File
@@ -173,7 +173,7 @@ AC_DEFUN([AC_PACKAGE_GLOBALS],
debug_build="$DEBUG"
AC_SUBST(debug_build)
OPTIMIZER=${OPTIMIZER:-'-g'} dnl -O2
OPTIMIZER=${OPTIMIZER:-'-g -O2'}
opt_build="$OPTIMIZER"
AC_SUBST(opt_build)
+4 -6
View File
@@ -57,15 +57,13 @@ endif
ifeq ($(PKG_PLATFORM),darwin)
PCFLAGS = -traditional-cpp
endif
ifeq ($(PKG_PLATFORM),irix)
CFLAGS += $(OPTIMIZER) $(DEBUG) -nostdinc -I$(ROOT)/usr/include \
-I$(TOPDIR)/include -DVERSION=\"$(PKG_VERSION)\" -D_REENTRANT
else
CFLAGS += -O1 $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall \
-I$(TOPDIR)/include -DVERSION=\"$(PKG_VERSION)\" -D_REENTRANT
PCFLAGS = -nostdinc -I$(ROOT)/usr/include
endif
GCFLAGS = $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall \
-I$(TOPDIR)/include -DVERSION=\"$(PKG_VERSION)\"
# Global, Platform, Local CFLAGS
CFLAGS += $(GCFLAGS) $(PCFLAGS) $(LCFLAGS)
+1 -1
View File
@@ -19,7 +19,7 @@ AC_DEFUN([AC_PACKAGE_GLOBALS],
debug_build="$DEBUG"
AC_SUBST(debug_build)
OPTIMIZER=${OPTIMIZER:-'-g'} dnl -O2
OPTIMIZER=${OPTIMIZER:-'-g -O2'}
opt_build="$OPTIMIZER"
AC_SUBST(opt_build)