mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-11 06:37:31 +00:00
Fix false set -e
termination
`readconfig()` would return the result of `[ -z "$CBUILDROOT" ]` condition (line 123) and trigger shell termination in abuild. This also fixes building packages with a different $CTARGET and therefore cross-compile tools.
This commit is contained in:
parent
5b7b1f80cb
commit
033349d31c
@ -149,6 +149,7 @@ readconfig() {
|
||||
export LDFLAGS="--sysroot=${CBUILDROOT} $LDFLAGS"
|
||||
fi
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
readconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user