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:
Augustin Cavalier
2017-12-11 19:28:45 -05:00
parent 82bffcc3a7
commit 02c9c92ae2
+2 -2
View File
@@ -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