Add build support for FreeBSD PowerPC64

This commit is contained in:
lenoil98
2019-08-23 07:54:02 -04:00
committed by GitHub
parent 806f3b592f
commit e1539c7344

View File

@@ -120,6 +120,11 @@ ifeq ($(ucpu),ppc64)
endif
ifeq ($(ucpu),powerpc)
mycpu = powerpc
ifeq ($(myos),freebsd)
mycpu = $(shell sh -c 'uname -p | tr "[:upper:]" "[:lower:]"')
CFLAGS += -m64
LDFLAGS += -m64
endif
endif
ifeq ($(ucpu),ppc)
mycpu = ppc