sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Ismael Luceno (26356122c6fa7a0dd325fdc12356ea0d5cd24470)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Ismael Luceno (26356122c6fa7a0dd325fdc12356ea0d5cd24470)
- Date: Thu, 23 May 2019 10:43:16 +0000
GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:
var/lib/sorcery/modules/libmisc | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 26356122c6fa7a0dd325fdc12356ea0d5cd24470
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libmisc: Detect the libc ABI
diff --git a/var/lib/sorcery/modules/libmisc b/var/lib/sorcery/modules/libmisc
index 81e8e29..0cacbe9 100755
--- a/var/lib/sorcery/modules/libmisc
+++ b/var/lib/sorcery/modules/libmisc
@@ -1480,6 +1480,12 @@ set_architecture() {
$(for i in "${SMGL_COMPAT_ARCHS[@]}"; do echo "$i"; done | tac)
)
+ # Guess libc ABI; archspecs default to "gnu"
+ if [ -z "$HOST_LIBC" ]; then
+ if command -v ldd && ldd --version 2>&1 | grep -q musl; then
+ HOST_LIBC=musl
+ fi
+ fi >/dev/null
source "$SPECFILE"
}
- [SM-Commit] GIT changes to master sorcery by Ismael Luceno (26356122c6fa7a0dd325fdc12356ea0d5cd24470), Ismael Luceno, 05/23/2019
Archive powered by MHonArc 2.6.24.