From af59350a279eccb4989322eca686ffe991e85f43 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Wed, 5 Apr 2006 03:55:41 +0000 Subject: Make xfstests build use -O2 by default. Merge of master-melb:xfs-cmds:25677a by kenmcd. --- include/builddefs.in | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/builddefs.in b/include/builddefs.in index 3d7c6255..353ab239 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -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) -- cgit v1.2.3