On Tue, Apr 14, 2015 at 06:14:50PM +0200, Andreas Schwab wrote:
> Please try this patch:

I've tested your patch on x86_64-linux (both normal configure invocation
and the bogus ./configure) and committed to trunk and 5 branch as obvious.

2015-04-15  Andreas Schwab  <sch...@suse.de>

        PR bootstrap/65763
        * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
        * Makefile.in: Regenerated.

--- libcc1/Makefile.am
+++ libcc1/Makefile.am
@@ -17,7 +17,7 @@
 ## <http://www.gnu.org/licenses/>.
 
 ACLOCAL_AMFLAGS = -I .. -I ../config
-gcc_build_dir = ../$(host_subdir)/gcc
+gcc_build_dir = ../gcc
 AM_CPPFLAGS = -I $(srcdir)/../include -I $(srcdir)/../libgcc \
        -I $(gcc_build_dir) -I$(srcdir)/../gcc \
        -I $(srcdir)/../gcc/c -I $(srcdir)/../gcc/c-family \
--- libcc1/Makefile.in
+++ libcc1/Makefile.in
@@ -245,7 +245,7 @@ top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 visibility = @visibility@
 ACLOCAL_AMFLAGS = -I .. -I ../config
-gcc_build_dir = ../$(host_subdir)/gcc
+gcc_build_dir = ../gcc
 AM_CPPFLAGS = -I $(srcdir)/../include -I $(srcdir)/../libgcc \
        -I $(gcc_build_dir) -I$(srcdir)/../gcc \
        -I $(srcdir)/../gcc/c -I $(srcdir)/../gcc/c-family \


        Jakub

Reply via email to