diff options
author | midipix <writeonce@midipix.org> | 2021-06-12 11:49:54 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-12 12:15:42 +0000 |
commit | 751469d0b15e7f73dd4c801f67782e92feccf03e (patch) | |
tree | 6af6fae1e21b7dd1fefa74779527f624196ae60f /configure | |
parent | 938455e6f6bb7260b2fffc9f8e6c3a911be7485d (diff) | |
download | mmglue-751469d0b15e7f73dd4c801f67782e92feccf03e.tar.bz2 mmglue-751469d0b15e7f73dd4c801f67782e92feccf03e.tar.xz |
build system: configure: config_ccenv(): require --sysroot when cross-compiling.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -816,8 +816,17 @@ config_ccenv() output_section_break ccenv_set_native_variables + # require --sysroot when cross-compiling + if [ "$mb_cchost" != "$mb_native_cchost" ] && [ -z "$mb_sysroot" ]; then + error_msg ' !!' + error_msg "$mb_package: --sysroot is required when cross-compiling." + exit 2 + fi + + # re-generate Makefile.tmp output_section_break config_copy + } config_custom_cfgdefs() |