Added some support for GCC 8.

This commit is contained in:
Jérôme Duval
2017-05-13 11:37:22 +02:00
parent e6fa1be5fd
commit 133e4131fe
3 changed files with 3 additions and 3 deletions
Vendored
+1 -1
View File
@@ -823,7 +823,7 @@ else
get_build_tool_path STRIP_$targetArch ${crossToolsPrefix}strip get_build_tool_path STRIP_$targetArch ${crossToolsPrefix}strip
case `get_variable HAIKU_GCC_RAW_VERSION_$targetArch` in case `get_variable HAIKU_GCC_RAW_VERSION_$targetArch` in
4.*|5.*|6.*|7.*) 4.*|5.*|6.*|7.*|8.*)
get_build_tool_path ELFEDIT_$targetArch \ get_build_tool_path ELFEDIT_$targetArch \
${crossToolsPrefix}elfedit ${crossToolsPrefix}elfedit
;; ;;
+1 -1
View File
@@ -37,7 +37,7 @@
#if __GNUC__ == 2 #if __GNUC__ == 2
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU # define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU
#elif __GNUC__ >= 3 && __GNUC__ <= 7 #elif __GNUC__ >= 3 && __GNUC__ <= 8
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_4 # define B_HAIKU_ABI B_HAIKU_ABI_GCC_4
#else #else
# error Unsupported gcc version! # error Unsupported gcc version!
+1 -1
View File
@@ -45,7 +45,7 @@
#if __GNUC__ == 2 #if __GNUC__ == 2
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU # define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU
#elif __GNUC__ >= 4 && __GNUC__ <= 7 #elif __GNUC__ >= 4 && __GNUC__ <= 8
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_4 # define B_HAIKU_ABI B_HAIKU_ABI_GCC_4
#else #else
# error Unsupported gcc version! # error Unsupported gcc version!