From 09a5b8ecf27ce8fad4f89519b2f07f4cdd32c332 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 24 Feb 2024 00:06:26 +0000 Subject: build system: configure: do not (potentially) change the search path semantics. --- configure | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/configure b/configure index b535af1..d7daf8d 100755 --- a/configure +++ b/configure @@ -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() -- cgit v1.2.3