This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] disable libmpx x32 multilib builds
- From: Matthias Klose <doko at ubuntu dot com>
- To: "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>
- Date: Wed, 11 Mar 2015 15:37:56 +0100
- Subject: [patch] disable libmpx x32 multilib builds
- Authentication-results: sourceware.org; auth=none
current trunk fails to build on x86*-linux, when configured for x32 multilibs
because libmpx doesn't support these. Disable them.
ok for the trunk?
* Disable libmpx x32 multilib builds.
--- a/config-ml.in
+++ b/config-ml.in
@@ -102,6 +102,7 @@
Makefile=${ac_file-Makefile}
ml_config_shell=${CONFIG_SHELL-/bin/sh}
ml_realsrcdir=${srcdir}
+ml_srcbase=`basename $ml_realsrcdir`
# Scan all the arguments and set all the ones we need.
@@ -220,6 +221,10 @@
if [ "${dir}" = "." ]; then
true
else
+ # libmpx is not supported on x32
+ if [ "${ml_srcbase}-${dir}" = libmpx-x32 ]; then
+ continue
+ fi
if [ -z "${multidirs}" ]; then
multidirs="${dir}"
else