summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-04-05 03:55:41 +0000
committerNathan Scott <nathans@sgi.com>2006-04-05 03:55:41 +0000
commitaf59350a279eccb4989322eca686ffe991e85f43 (patch)
tree46ba642ad1f323b0dc412dfde6b13d1e9be99e53 /include
parent86f92b45a6b3c033329a38f6573401e0ca95e547 (diff)
Make xfstests build use -O2 by default.
Merge of master-melb:xfs-cmds:25677a by kenmcd.
Diffstat (limited to 'include')
-rw-r--r--include/builddefs.in10
1 files changed, 4 insertions, 6 deletions
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)