summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim Shimmin <tes@sgi.com>2006-07-04 03:50:40 +0000
committerTim Shimmin <tes@sgi.com>2006-07-04 03:50:40 +0000
commit6ad67908eb490465aaeaf411dbbdeec6eadd3a5e (patch)
tree2354f6e4b932fedb36241f43c3f597060787391e /include
parent422b6d5a86b5f2d06119d46f774e700ee98285e1 (diff)
Fix up the irix build with the log format 32/64 packed changes being
put into irix.h and GCCFLAGS separated out. Merge of master-melb:xfs-cmds:26404a by kenmcd. fix up compiler flags for irix - don't want gcc ones
Diffstat (limited to 'include')
-rw-r--r--include/builddefs.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/builddefs.in b/include/builddefs.in
index a98efdf2..d3459a35 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -52,17 +52,19 @@ HAVE_DB = @have_db@
HAVE_AIO = @have_aio@
HAVE_ATTR_LIST = @have_attr_list@
+GCCFLAGS = -funsigned-char -fno-strict-aliasing -Wall
+
ifeq ($(PKG_PLATFORM),linux)
-PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
+PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 $(GCCFLAGS)
endif
ifeq ($(PKG_PLATFORM),darwin)
-PCFLAGS = -traditional-cpp
+PCFLAGS = -traditional-cpp $(GCCFLAGS)
endif
ifeq ($(PKG_PLATFORM),irix)
-PCFLAGS = -nostdinc -I$(ROOT)/usr/include
+PCFLAGS = -nostdinc -I$(ROOT)/usr/include -I$(TOPDIR)/../irix/include
endif
-GCFLAGS = $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall \
+GCFLAGS = $(OPTIMIZER) $(DEBUG) \
-I$(TOPDIR)/include -DVERSION=\"$(PKG_VERSION)\"
# Global, Platform, Local CFLAGS