diff options
author | midipix <writeonce@midipix.org> | 2021-06-12 11:49:54 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-12 12:15:44 +0000 |
commit | 30f900ec1183bea6a79a7138aaba19664e575e55 (patch) | |
tree | ac87f90dbea48b9ae06e944b0e71283bd7ca5dbf | |
parent | 6880f92c17819671f15050393ffa3c6b598617b3 (diff) | |
download | ptycon-30f900ec1183bea6a79a7138aaba19664e575e55.tar.bz2 ptycon-30f900ec1183bea6a79a7138aaba19664e575e55.tar.xz |
build system: configure: config_ccenv(): require --sysroot when cross-compiling.
-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() |