Added some support for GCC 7.

This commit is contained in:
Jérôme Duval 2016-05-05 18:15:56 +02:00
parent 07215f2aff
commit c9dba74273
3 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -815,7 +815,7 @@ else
get_build_tool_path STRIP_$targetArch ${crossToolsPrefix}strip
case `get_variable HAIKU_GCC_RAW_VERSION_$targetArch` in
4.*|5.*|6.*)
4.*|5.*|6.*|7.*)
get_build_tool_path ELFEDIT_$targetArch \
${crossToolsPrefix}elfedit
;;

View File

@ -37,7 +37,7 @@
#if __GNUC__ == 2
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU
#elif __GNUC__ == 3 || __GNUC__ == 4 || __GNUC__ == 5
#elif __GNUC__ >= 3 && __GNUC__ <= 7
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_4
#else
# error Unsupported gcc version!

View File

@ -45,7 +45,7 @@
#if __GNUC__ == 2
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU
#elif __GNUC__ == 4 || __GNUC__ == 5 || __GNUC__ == 6
#elif __GNUC__ >= 4 && __GNUC__ <= 7
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_4
#else
# error Unsupported gcc version!