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.4.0-rc2~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cf262f57baebeb3db47b4a44d0ab153b4d2abb2d;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