From cf262f57baebeb3db47b4a44d0ab153b4d2abb2d Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 24 Nov 2013 03:42:22 -0500 Subject: [PATCH] gcc blacklist: only apply when building with gcc Signed-off-by: Mathieu Desnoyers --- wrapper/compiler.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/wrapper/compiler.h b/wrapper/compiler.h index bd69fad3..0c016327 100644 --- a/wrapper/compiler.h +++ b/wrapper/compiler.h @@ -27,12 +27,15 @@ * Don't allow compiling with buggy compiler. */ +#ifdef GCC_VERSION + /* * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 */ -#ifdef __ARMEL__ -# if GCC_VERSION >= 40800 && GCC_VERSION <= 40802 -# error Your gcc version produces clobbered frame accesses +# ifdef __ARMEL__ +# if GCC_VERSION >= 40800 && GCC_VERSION <= 40802 +# error Your gcc version produces clobbered frame accesses +# endif # endif #endif -- 2.34.1