Skip to content

Commit

Permalink
toolchain/gcc: fix --with-isl path
Browse files Browse the repository at this point in the history
This fixes GCC 7 compilation when GRAPHITE is selected.
The path is replaced with $(TOOLCHAIN_DIR), while it should be
$(STAGING_DIR_HOST). To keep in sync with the path of gmp,
mpfr and mpc, I'm using $(TOPDIR)/staging_dir/host.

Fixes: f62f4b3 ("build: stop overriding STAGING_DIR_HOST for toolchain build")

Signed-off-by: Syrone Wong <[email protected]>
  • Loading branch information
wongsyrone authored and nbd168 committed May 30, 2017
1 parent 6773561 commit c87aa0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolchain/gcc/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ ifdef CONFIG_INSTALL_GCCGO
endif

ifdef CONFIG_GCC_USE_GRAPHITE
GRAPHITE_CONFIGURE=--with-isl=$(HOST_BUILD_PREFIX)
GRAPHITE_CONFIGURE:= --with-isl=$(TOPDIR)/staging_dir/host
else
GRAPHITE_CONFIGURE=--without-isl --without-cloog
GRAPHITE_CONFIGURE:= --without-isl --without-cloog
endif

GCC_CONFIGURE:= \
Expand Down

0 comments on commit c87aa0d

Please sign in to comment.