mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 10:37:33 -07:00
Consolidated powerpc64le machine types, added 32-bit powerpc machine type and a flag to disable use of Linux capabilities
This commit is contained in:
parent
43331d3fe8
commit
535ba8a207
2 changed files with 8 additions and 6 deletions
|
@ -79,7 +79,7 @@ endif
|
|||
ifeq ($(ZT_SYNOLOGY), 1)
|
||||
override CFLAGS+=-fPIC
|
||||
override CXXFLAGS+=-fPIC
|
||||
override DEFS+=-D__SYNOLOGY__
|
||||
override DEFS+=-D__SYNOLOGY__
|
||||
endif
|
||||
|
||||
ifeq ($(ZT_TRACE),1)
|
||||
|
@ -111,6 +111,12 @@ ifeq ($(CC_MACH),amd64)
|
|||
endif
|
||||
ifeq ($(CC_MACH),powerpc64le)
|
||||
ZT_ARCHITECTURE=8
|
||||
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||
endif
|
||||
ifeq ($(CC_MACH),powerpc)
|
||||
ZT_ARCHITECTURE=8
|
||||
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||
override DEFS+=-DZT_NO_CAPABILITIES
|
||||
endif
|
||||
ifeq ($(CC_MACH),ppc64le)
|
||||
ZT_ARCHITECTURE=8
|
||||
|
@ -199,10 +205,6 @@ ifeq ($(CC_MACH),mips64el)
|
|||
ZT_ARCHITECTURE=6
|
||||
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||
endif
|
||||
ifeq ($(CC_MACH),powerpc64le)
|
||||
ZT_ARCHITECTURE=7
|
||||
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||
endif
|
||||
|
||||
# Fail if system architecture could not be determined
|
||||
ifeq ($(ZT_ARCHITECTURE),999)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue