1
1
Fork 0

zshrc: Set --build for DJGPP

Without it, it assumes it's not cross-compiling if wine is installed.
And then fails.
This commit is contained in:
Jonathan Schleifer 2022-12-10 15:15:47 +00:00
parent dd6b0ef08b
commit 456a67e63f

3
zshrc
View file

@ -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