diff options
author | lenoil98 <hamiltcl@verizon.net> | 2019-08-23 07:54:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-23 07:54:02 -0400 |
commit | e1539c7344622cd7e604546a7205d6288e40ee4d (patch) | |
tree | 49503415d02b42c793816a5d69e0547ae8985575 /tools | |
parent | 806f3b592f87f71ce8fb9a01ce024c4423efe108 (diff) | |
download | Nim-e1539c7344622cd7e604546a7205d6288e40ee4d.tar.gz |
Add build support for FreeBSD PowerPC64
Diffstat (limited to 'tools')
-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 |