build: correctly check for mingw in lto check

This commit is contained in:
Danny Robson 2015-01-30 17:37:36 +11:00
parent c487a00175
commit 2ac4a98e14

View File

@ -9,7 +9,7 @@ AC_DEFUN([NC_OPTIMISATION],[
])
AS_IF([test "x$enable_lto" == "xyes"], [
AS_IF([test x"${host_os}" != x"mingw32"], [
AS_IF([test x"${host_os}" == x"mingw32"], [
AC_ERROR([mingw32 link-time optimisation is currently broken])
])