From: Mathieu Desnoyers Date: Sun, 24 Nov 2013 08:42:22 +0000 (-0500) Subject: gcc blacklist: only apply when building with gcc X-Git-Tag: v2.2.4~10 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3a7a6c1de98a27d628e07d4a2ad61c1cf15dd6b1;p=lttng-modules.git gcc blacklist: only apply when building with gcc Signed-off-by: Mathieu Desnoyers --- 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