diff options
-rw-r--r-- | tools/niminst/makefile.nimf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/niminst/makefile.nimf b/tools/niminst/makefile.nimf index 0f2c1920e..ad9d55c03 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 |