cross-*: restrict building only on native builds.
This commit is contained in:
parent
b1c554802a
commit
1c6d2f8af1
8 changed files with 29 additions and 8 deletions
|
@ -34,6 +34,10 @@ makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel"
|
|||
depends="${pkgname}-libc-${version}_${revision}"
|
||||
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
|
||||
fi
|
||||
|
||||
_apply_patch() {
|
||||
local pname="$(basename $1)"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue