Add build support for FreeBSD PowerPC64

This commit is contained in:
lenoil98 2019-08-23 07:54:02 -04:00 • committed by GitHub
commit e1539c7344
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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