diff options
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index ba0cd7da5b..66f8d117b7 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1445,6 +1445,11 @@ toolchain_src_configure() { ;; esac + # PREFIX_LOCAL: host OS very likely needs tweaks, so install + # these in order to allow compiling GCC itself and packages + # afterwards + use prefix-guest && GCC_RUN_FIXINCLUDES=1 + if [[ ${GCC_RUN_FIXINCLUDES} == 1 ]] ; then confgcc+=( --enable-fixincludes ) else |