diff --git a/zshrc b/zshrc index d9d348b..56038c0 100644 --- a/zshrc +++ b/zshrc @@ -471,6 +471,9 @@ cross() { export PATH="$prefix/cross-djgpp/bin:$PATH" export cross_host="i586-pc-msdosdjgpp" + local build="$(LC_ALL=C gcc -v 2>&1 | + awk '/^Target:/ { print $2 }')" + export objfw_configure_flags="--build=$build" ;; ios | iossim) if ! __has_command xcrun; then