Fix build on FreeBSD/powerpc (#19282)
It's currently misdetected as powerpc64.
This commit is contained in:
parent
19898e1225
commit
7a5314c571
1 changed files with 4 additions and 2 deletions
|
|
@ -192,8 +192,10 @@ case $ucpu in
|
||||||
mycpu="powerpc64" ;;
|
mycpu="powerpc64" ;;
|
||||||
*power*|*ppc* )
|
*power*|*ppc* )
|
||||||
if [ "$myos" = "freebsd" ] ; then
|
if [ "$myos" = "freebsd" ] ; then
|
||||||
COMP_FLAGS="$COMP_FLAGS -m64"
|
if [ "$ucpu" != "powerpc" ] ; then
|
||||||
LINK_FLAGS="$LINK_FLAGS -m64"
|
COMP_FLAGS="$COMP_FLAGS -m64"
|
||||||
|
LINK_FLAGS="$LINK_FLAGS -m64"
|
||||||
|
fi
|
||||||
mycpu=`uname -p`
|
mycpu=`uname -p`
|
||||||
case $mycpu in
|
case $mycpu in
|
||||||
powerpc64le)
|
powerpc64le)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue