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
This commit is contained in:
Tim Shimmin
2006-07-04 03:50:40 +00:00
parent 422b6d5a86
commit 6ad67908eb
2 changed files with 7 additions and 4 deletions
+6 -4
View File
@@ -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
+1
View File
@@ -22,6 +22,7 @@
#include <config.h>
#ifdef sgi
#include <../../irix/include/xfs/platform_defs.h>
#include <../../xfsprogs/include/irix.h>
#endif