diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-12-02 20:31:38 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-09 21:33:19 +0100 |
commit | 9590e1155d7a9dcfc30ba0a95ccea43698bab8cf (patch) | |
tree | 514a77d9853a500f5c2982013368d263c54f559a /toolchain/gcc/common.mk | |
parent | e854dcaef37cdb59109448889e9da9358591748a (diff) | |
download | openwrt-9590e1155d7a9dcfc30ba0a95ccea43698bab8cf.tar.gz openwrt-9590e1155d7a9dcfc30ba0a95ccea43698bab8cf.tar.bz2 openwrt-9590e1155d7a9dcfc30ba0a95ccea43698bab8cf.zip |
toolchain/gcc: use STAGING_DIR_HOST instead of hardcoding default
Use STAGING_DIR_HOST to reference staging host directory instead of
hardcoding it to default path.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'toolchain/gcc/common.mk')
-rw-r--r-- | toolchain/gcc/common.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index ea2e2634b6..7eae855eea 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -72,7 +72,7 @@ ifdef CONFIG_INSTALL_GCCGO endif ifdef CONFIG_GCC_USE_GRAPHITE - GRAPHITE_CONFIGURE:= --with-isl=$(TOPDIR)/staging_dir/host + GRAPHITE_CONFIGURE:= --with-isl=$(STAGING_DIR_HOST) else GRAPHITE_CONFIGURE:= --without-isl --without-cloog endif @@ -106,9 +106,9 @@ GCC_CONFIGURE:= \ --with-abi=$(call qstrip,$(CONFIG_MIPS64_ABI))) \ $(if $(CONFIG_arc),--with-cpu=$(CONFIG_CPU_TYPE)) \ $(if $(CONFIG_powerpc64), $(if $(CONFIG_USE_MUSL),--with-abi=elfv2)) \ - --with-gmp=$(TOPDIR)/staging_dir/host \ - --with-mpfr=$(TOPDIR)/staging_dir/host \ - --with-mpc=$(TOPDIR)/staging_dir/host \ + --with-gmp=$(STAGING_DIR_HOST) \ + --with-mpfr=$(STAGING_DIR_HOST) \ + --with-mpc=$(STAGING_DIR_HOST) \ --disable-decimal-float \ --with-diagnostics-color=auto-if-env \ --enable-__cxa_atexit \ |