diff options
author | midipix <writeonce@midipix.org> | 2024-02-24 00:06:26 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-24 00:09:24 +0000 |
commit | 3998e244852cab7fbfa0c4619a688a6ea4e71552 (patch) | |
tree | 104c475b8c1ef7ef2d420c02706804a3a2c7bbed /configure | |
parent | b629ddf8d40cfc9b8f113bb108ba685991caca22 (diff) | |
download | ntux-3998e244852cab7fbfa0c4619a688a6ea4e71552.tar.bz2 ntux-3998e244852cab7fbfa0c4619a688a6ea4e71552.tar.xz |
build system: configure: do not (potentially) change the search path semantics.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -847,26 +847,9 @@ config_ccenv() error_msg "${mb_pretty} forcing native mode when cross-building is strictly prohibited." fi - # add the include and library directories to the compiler and linker search path - if [ "$mb_cchost" = "$mb_native_cchost" ]; then - mb_cflags_last="$mb_cflags_last -I$mb_includedir" - mb_ldflags_last="$mb_ldflags_last -L$mb_libdir" - else - case "$mb_libdir" in - /*) - mb_cflags_last="$mb_cflags_last -I$mb_sysroot/.$mb_includedir" - mb_ldflags_last="$mb_ldflags_last -L$mb_sysroot/.$mb_libdir" - ;; - *) - mb_cflags_last="$mb_cflags_last -I$mb_includedir" - mb_ldflags_last="$mb_ldflags_last -L$mb_libdir" - esac - fi - # re-generate Makefile.tmp output_section_break config_copy - } config_custom_cfgdefs() |