Don't enable bound check if libgcc is used
Bound check rely on some functions provided by libtcc. It should therefore not be enabled when libgcc is used.
This commit is contained in:
3
tcc.h
3
tcc.h
@ -128,7 +128,8 @@
|
||||
#endif
|
||||
|
||||
#if !defined(TCC_UCLIBC) && !defined(TCC_TARGET_ARM) && \
|
||||
!defined(TCC_TARGET_C67) && !defined(TCC_TARGET_X86_64)
|
||||
!defined(TCC_TARGET_C67) && !defined(TCC_TARGET_X86_64) && \
|
||||
!defined(CONFIG_USE_LIBGCC)
|
||||
#define CONFIG_TCC_BCHECK /* enable bound checking code */
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user