aboutsummaryrefslogtreecommitdiff
path: root/libobjc/configure.ac
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-04-15 17:05:36 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-04-15 17:05:36 +0000
commitdb7f3c6929135d58fa1287ba55cc367347e07c59 (patch)
tree39ce7b01f6486eb3624203c9f807dfedcd092001 /libobjc/configure.ac
parenta49877d87f5aec34295e82b0fffaee086457f1c3 (diff)
downloadgcc-db7f3c6929135d58fa1287ba55cc367347e07c59.zip
gcc-db7f3c6929135d58fa1287ba55cc367347e07c59.tar.gz
gcc-db7f3c6929135d58fa1287ba55cc367347e07c59.tar.bz2
re PR libobjc/14948 (irix6.5 bootstrap fails in mabi=64/libobjc)
PR libobjc/14948 * configure.ac: De-precious CC so multilibs work. * configure: Regenerate. From-SVN: r80724
Diffstat (limited to 'libobjc/configure.ac')
-rw-r--r--libobjc/configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/libobjc/configure.ac b/libobjc/configure.ac
index b0c86bd..e6d65fa 100644
--- a/libobjc/configure.ac
+++ b/libobjc/configure.ac
@@ -159,7 +159,16 @@ AC_SUBST(toolexeclibdir)
# --------
GCC_NO_EXECUTABLES
+
+# We must force CC to /not/ be a precious variable; otherwise
+# the wrong, non-multilib-adjusted value will be used in multilibs.
+# As a side effect, we have to subst CFLAGS ourselves.
+m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS])
+m4_define([_AC_ARG_VAR_PRECIOUS],[])
AC_PROG_CC
+m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
+
+AC_SUBST(CFLAGS)
AC_CHECK_TOOL(AS, as)
AC_CHECK_TOOL(AR, ar)