mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
some Makefile dependency fixes
Merge of master-melb:xfs-cmds:26405a by kenmcd. specify platform for depend flags
This commit is contained in:
@@ -56,12 +56,18 @@ GCCFLAGS = -funsigned-char -fno-strict-aliasing -Wall
|
||||
|
||||
ifeq ($(PKG_PLATFORM),linux)
|
||||
PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 $(GCCFLAGS)
|
||||
DEPENDFLAGS = -D__linux__
|
||||
endif
|
||||
ifeq ($(PKG_PLATFORM),darwin)
|
||||
PCFLAGS = -traditional-cpp $(GCCFLAGS)
|
||||
DEPENDFLAGS = -D__APPLE__
|
||||
endif
|
||||
ifeq ($(PKG_PLATFORM),irix)
|
||||
PCFLAGS = -nostdinc -I$(ROOT)/usr/include -I$(TOPDIR)/../irix/include
|
||||
DEPENDFLAGS = -D__sgi__
|
||||
endif
|
||||
ifeq ($(PKG_PLATFORM),freebsd)
|
||||
DEPENDFLAGS = -D__FreeBSD__
|
||||
endif
|
||||
|
||||
GCFLAGS = $(OPTIMIZER) $(DEBUG) \
|
||||
|
||||
Reference in New Issue
Block a user