configure: Don't force a 32-bit build when cross-compiling.
This commit is contained in:
parent
8cf8e2c60a
commit
6b4ed0faae
|
@ -3804,7 +3804,7 @@ fi
|
||||||
|
|
||||||
case $host in
|
case $host in
|
||||||
x86_64*)
|
x86_64*)
|
||||||
if test "x$enable_win64" != "xyes"
|
if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
|
||||||
then
|
then
|
||||||
CC="$CC -m32"
|
CC="$CC -m32"
|
||||||
CXX="$CXX -m32"
|
CXX="$CXX -m32"
|
||||||
|
|
|
@ -101,7 +101,7 @@ AC_CHECK_TOOL(CPPBIN,cpp,cpp)
|
||||||
|
|
||||||
case $host in
|
case $host in
|
||||||
x86_64*)
|
x86_64*)
|
||||||
if test "x$enable_win64" != "xyes"
|
if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
|
||||||
then
|
then
|
||||||
CC="$CC -m32"
|
CC="$CC -m32"
|
||||||
CXX="$CXX -m32"
|
CXX="$CXX -m32"
|
||||||
|
|
Loading…
Reference in New Issue