tcc -dumpmachine: output -musl instead of -gnu when TCC_MUSL is defined
This commit is contained in:
parent
1cee0908d2
commit
3d65c596a2
1 changed files with 2 additions and 0 deletions
2
libtcc.c
2
libtcc.c
|
@ -1740,6 +1740,8 @@ static const char dumpmachine_str[] =
|
||||||
"openbsd"
|
"openbsd"
|
||||||
#elif TARGETOS_NetBSD
|
#elif TARGETOS_NetBSD
|
||||||
"netbsd"
|
"netbsd"
|
||||||
|
#elif TCC_MUSL
|
||||||
|
"linux-musl"
|
||||||
#else
|
#else
|
||||||
"linux-gnu"
|
"linux-gnu"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue