BeBuild: Treat TinyCC as GCC4 ABI.
Since it's just a C compiler "technically" the ABI does not matter, but since it also can target other ABIs from one toolchain (e.g. x64), just treat it as GCC4 ABI unilaterally. Fixes #13847.
This commit is contained in:
@@ -45,10 +45,10 @@
|
||||
|
||||
#if __GNUC__ == 2
|
||||
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU
|
||||
#elif __GNUC__ >= 4 && __GNUC__ <= 8
|
||||
#elif (__GNUC__ >= 4 && __GNUC__ <= 8) || defined(__TINYC__)
|
||||
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_4
|
||||
#else
|
||||
# error Unsupported gcc version!
|
||||
# error Unsupported compiler!
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user