mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
@@ -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
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <config.h>
|
||||
|
||||
#ifdef sgi
|
||||
#include <../../irix/include/xfs/platform_defs.h>
|
||||
#include <../../xfsprogs/include/irix.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user