toolchain/gcc: fix --with-isl path
authorSyrone Wong <wong.syrone@gmail.com>
Tue, 30 May 2017 07:10:02 +0000 (15:10 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 30 May 2017 07:32:10 +0000 (09:32 +0200)
commitc87aa0d7ca8f2dcd3cf559a4933fef3cb44f7a21
tree5e6b275a9374f420612ec82ddd0c7861851b2682
parent677356174845e8453448843fa64bd92cab584d25
toolchain/gcc: fix --with-isl path

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: f62f4b3c5c9d ("build: stop overriding STAGING_DIR_HOST for toolchain build")
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
toolchain/gcc/common.mk