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 | 0ab95feb56236d61d3170f1f92d94f0c2a601ade (patch) | |
tree | 265cd5da68dbd11089c751b1a7a3c717084d6b94 | |
parent | be8ac2c098c042bac1540e3370bd3adccdc1f365 (diff) | |
download | sbmake-0ab95feb56236d61d3170f1f92d94f0c2a601ade.tar.bz2 sbmake-0ab95feb56236d61d3170f1f92d94f0c2a601ade.tar.xz |
build system: configure: do not (potentially) change the search path semantics.
-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() |