From e1539c7344622cd7e604546a7205d6288e40ee4d Mon Sep 17 00:00:00 2001 From: lenoil98 Date: Fri, 23 Aug 2019 07:54:02 -0400 Subject: [PATCH] Add build support for FreeBSD PowerPC64 --- tools/niminst/makefile.nimf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/niminst/makefile.nimf b/tools/niminst/makefile.nimf index 0f2c1920e3..ad9d55c03f 100644 --- a/tools/niminst/makefile.nimf +++ b/tools/niminst/makefile.nimf @@ -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