diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2015-12-07 10:21:19 -0700 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2015-12-09 10:11:31 +0000 |
commit | 7f2e0fdbe7bc2090c08fb36a94f468c222d59ae3 (patch) | |
tree | 936a0616120bd505a60e6f322cda614bcdada5d8 | |
parent | 2ad858cd2bb428e72e6287be07f14e854201ac6b (diff) |
Don't look for gcc-multilib packages when configuring on a x86 platform.
Change-Id: Id4e103b87ed338fe83a132690f160d4c069f44b1
-rwxr-xr-x | configure | 5 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -3752,7 +3752,10 @@ packages="texinfo gawk" if test ${deb} -ge 1; then # add Ubuntu specific packages if test x"${BUILD_ARCH}" != xaarch64; then - packages="${packages} gcc-multilib g++-multilib libncurses5-dev libpython2.7-dev" + packages="${packages} libncurses5-dev libpython2.7-dev" + if test x"${BUILD_ARCH}" = x"x86_64"; then + packages="${packages} gcc-multilib g++-multilib" + fi fi for i in ${packages}; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $i is installed" >&5 diff --git a/configure.ac b/configure.ac index e9f931ee..0bc33efc 100644 --- a/configure.ac +++ b/configure.ac @@ -175,7 +175,10 @@ packages="texinfo gawk" if test ${deb} -ge 1; then # add Ubuntu specific packages if test x"${BUILD_ARCH}" != xaarch64; then - packages="${packages} gcc-multilib g++-multilib libncurses5-dev libpython2.7-dev" + packages="${packages} libncurses5-dev libpython2.7-dev" + if test x"${BUILD_ARCH}" = x"x86_64"; then + packages="${packages} gcc-multilib g++-multilib" + fi fi for i in ${packages}; do AC_MSG_CHECKING([if $i is installed]) |