Skip to content

Commit

Permalink
uutils-coreutils: disable musl support
Browse files Browse the repository at this point in the history
musl is not supported because the libc crate does not support functions like "endutxent" at the moment,
so src/uucore/src/lib/features.rs disables utmpx when targetting musl.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
Ecordonnier authored and kraj committed Apr 6, 2023
1 parent 4ee5e2b commit 6b197f0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=41f7469eaacac62c67d5664fff2c062d"
inherit cargo cargo-update-recipe-crates

SRC_URI += "git://github.com/uutils/coreutils.git;protocol=https;nobranch=1"

# musl not supported because the libc crate does not support functions like "endutxent" at the moment,
# so src/uucore/src/lib/features.rs disables utmpx when targetting musl.
COMPATIBLE_HOST:libc-musl = "null"

SRCREV = "eb11c4006f3286efee5226e546f119a20998266b"
S = "${WORKDIR}/git"

Expand Down

0 comments on commit 6b197f0

Please sign in to comment.