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:
parent
dd6b0ef08b
commit
456a67e63f
1 changed files with 3 additions and 0 deletions
3
zshrc
3
zshrc
|
@ -471,6 +471,9 @@ cross() {
|
||||||
|
|
||||||
export PATH="$prefix/cross-djgpp/bin:$PATH"
|
export PATH="$prefix/cross-djgpp/bin:$PATH"
|
||||||
export cross_host="i586-pc-msdosdjgpp"
|
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)
|
ios | iossim)
|
||||||
if ! __has_command xcrun; then
|
if ! __has_command xcrun; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue