From 3d65c596a2efaa388246b6dfe726359f62b3a722 Mon Sep 17 00:00:00 2001 From: noneofyourbusiness Date: Sun, 11 Aug 2024 00:17:58 +0200 Subject: [PATCH] tcc -dumpmachine: output -musl instead of -gnu when TCC_MUSL is defined --- libtcc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libtcc.c b/libtcc.c index 5b6606e9..77a116c2 100644 --- a/libtcc.c +++ b/libtcc.c @@ -1740,6 +1740,8 @@ static const char dumpmachine_str[] = "openbsd" #elif TARGETOS_NetBSD "netbsd" +#elif TCC_MUSL + "linux-musl" #else "linux-gnu" #endif