mirror of
https://github.com/pygos/build.git
synced 2024-11-05 19:47:09 +01:00
David Oberhollenzer
6592c3e996
When cross compiling with a musl toolchain, the symbol minus_zero gets defined more than once, causing linking problems This commit adds as a simple workaround a patch from the openembedded project. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
24 lines
503 B
Text
Executable file
24 lines
503 B
Text
Executable file
VERSION="8.31"
|
|
SRCDIR="coreutils-${VERSION}"
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
URL="https://ftp.gnu.org/gnu/coreutils/"
|
|
SHA256SUM="ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd"
|
|
DEPENDS="toolchain"
|
|
|
|
prepare() {
|
|
apply_patches
|
|
}
|
|
|
|
build() {
|
|
run_configure "$1" --enable-single-binary=symlinks
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
|
}
|
|
|
|
check_update() {
|
|
check_update_simple "$URL" "coreutils" "tar.xz"
|
|
}
|