Fix ELF interpreter of i386 musl target
This commit is contained in:
parent
63f69c2bdd
commit
82abfd75f3
1 changed files with 5 additions and 1 deletions
6
tcc.h
6
tcc.h
|
@ -254,7 +254,11 @@ extern long double strtold (const char *__nptr, char **__endptr);
|
|||
# endif
|
||||
# elif !defined(TCC_ARM_EABI)
|
||||
# if defined(TCC_MUSL)
|
||||
# define CONFIG_TCC_ELFINTERP "/lib/ld-musl-arm.so.1"
|
||||
# if defined(TCC_TARGET_I386)
|
||||
# define CONFIG_TCC_ELFINTERP "/lib/ld-musl-i386.so.1"
|
||||
# else
|
||||
# define CONFIG_TCC_ELFINTERP "/lib/ld-musl-arm.so.1"
|
||||
# endif
|
||||
# else
|
||||
# define CONFIG_TCC_ELFINTERP "/lib/ld-linux.so.2"
|
||||
# endif
|
||||
|
|
Loading…
Reference in a new issue