[runtime] Fix the PLATFORM_GNU check so it works with gnueabi etc. as well. Fixes...
authorZoltan Varga <vargaz@gmail.com>
Wed, 13 Aug 2014 19:33:40 +0000 (15:33 -0400)
committerZoltan Varga <vargaz@gmail.com>
Wed, 13 Aug 2014 19:33:40 +0000 (15:33 -0400)
configure.ac

index 6ef510ec9f6a8073efec7bbe146f552126b58ffb..a8b604edccb1e9d57083be279caf2721d770ff7a 100644 (file)
@@ -368,7 +368,7 @@ fi
 AC_SUBST(extra_runtime_ldflags)
 AM_CONDITIONAL(HOST_WIN32, test x$host_win32 = xyes)
 AM_CONDITIONAL(TARGET_WIN32, test x$target_win32 = xyes)
-AM_CONDITIONAL(PLATFORM_GNU, echo x$target_os | grep -q -- -gnu$)
+AM_CONDITIONAL(PLATFORM_GNU, echo x$target_os | grep -q -- -gnu)
 AM_CONDITIONAL(PLATFORM_LINUX, echo x$target_os | grep -q linux)
 AM_CONDITIONAL(PLATFORM_DARWIN, test x$platform_darwin = xyes)
 AM_CONDITIONAL(PLATFORM_SIGPOSIX, test x$use_sigposix = xyes)