Add support for FreeBSD/PowerPC64 Little Endian (#15927)
* Update installer.ini Add support for powerpc64 little endian * Update buildsh.nimf Add support for powerpc64 little endian * Update makefile.nimf Add support for freebsd/powerpc64 little endian
This commit is contained in:
parent
c6ceefea6d
commit
63c559e781
3 changed files with 8 additions and 2 deletions
|
|
@ -159,7 +159,10 @@ case $ucpu in
|
|||
COMP_FLAGS="$COMP_FLAGS -m64"
|
||||
LINK_FLAGS="$LINK_FLAGS -m64"
|
||||
mycpu=`uname -p`
|
||||
else
|
||||
if [ "$(mycpu)" = "powerpc64le"] ; then
|
||||
mycpu="powerpc64el"
|
||||
fi
|
||||
else
|
||||
mycpu="powerpc"
|
||||
fi
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -124,6 +124,9 @@ ifeq ($(ucpu),powerpc)
|
|||
mycpu = $(shell sh -c 'uname -p | tr "[:upper:]" "[:lower:]"')
|
||||
CFLAGS += -m64
|
||||
LDFLAGS += -m64
|
||||
ifeq ($(mycpu),powerpc64le)
|
||||
mycpu = powerpc64el
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(ucpu),ppc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue