From 2ac4a98e14cd58bdc188ebd1f8b6c77fc30a8c0e Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 30 Jan 2015 17:37:36 +1100 Subject: [PATCH] build: correctly check for mingw in lto check --- m4/nc_optimisation.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/nc_optimisation.m4 b/m4/nc_optimisation.m4 index be531059..c626bfc2 100644 --- a/m4/nc_optimisation.m4 +++ b/m4/nc_optimisation.m4 @@ -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]) ])