diff options
Diffstat (limited to 'scripts/build/cc/gcc.sh')
-rw-r--r-- | scripts/build/cc/gcc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index afcbeb2b..6cf7e51f 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -282,6 +282,7 @@ do_gcc_core_backend() { gcc_build|gcc_host) CT_DoLog EXTRA "Configuring final gcc compiler" extra_config+=( "${CT_CC_SYSROOT_ARG[@]}" ) + extra_config+=( "--with-headers=${CT_PREFIX_DIR}/${CT_TARGET}/include" ) extra_user_config=( "${CT_CC_GCC_EXTRA_CONFIG_ARRAY[@]}" ) log_txt="final gcc compiler" # to inhibit the libiberty and libgcc tricks later on |