mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-02 18:07:59 +00:00
Fix build on FreeBSD/powerpc (#19282)
It's currently misdetected as powerpc64.
This commit is contained in:
@@ -192,8 +192,10 @@ case $ucpu in
|
||||
mycpu="powerpc64" ;;
|
||||
*power*|*ppc* )
|
||||
if [ "$myos" = "freebsd" ] ; then
|
||||
COMP_FLAGS="$COMP_FLAGS -m64"
|
||||
LINK_FLAGS="$LINK_FLAGS -m64"
|
||||
if [ "$ucpu" != "powerpc" ] ; then
|
||||
COMP_FLAGS="$COMP_FLAGS -m64"
|
||||
LINK_FLAGS="$LINK_FLAGS -m64"
|
||||
fi
|
||||
mycpu=`uname -p`
|
||||
case $mycpu in
|
||||
powerpc64le)
|
||||
|
||||
Reference in New Issue
Block a user