Added patch to detect and use the paths for 64bit libraries as
used by CentOS (affects X86_64 only).
This commit is contained in:
6
tcc.h
6
tcc.h
@ -136,7 +136,11 @@ typedef int BOOL;
|
||||
|
||||
/* path to find crt1.o, crti.o and crtn.o. Only needed when generating
|
||||
executables or dlls */
|
||||
#define CONFIG_TCC_CRT_PREFIX CONFIG_SYSROOT "/usr/lib"
|
||||
#if defined(TCC_TARGET_X86_64_CENTOS)
|
||||
# define CONFIG_TCC_CRT_PREFIX CONFIG_SYSROOT "/usr/lib64"
|
||||
#else
|
||||
# define CONFIG_TCC_CRT_PREFIX CONFIG_SYSROOT "/usr/lib"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_STACK_SIZE 32
|
||||
#define IFDEF_STACK_SIZE 64
|
||||
|
||||
Reference in New Issue
Block a user