gcc blacklist: only apply when building with gcc
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 24 Nov 2013 08:42:22 +0000 (03:42 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 24 Nov 2013 08:43:16 +0000 (03:43 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
wrapper/compiler.h

index bd69fad3ce952e8da48c4a804bbb05d89056f4aa..0c016327da5dd27a7e5f06cbffe8379269aa5870 100644 (file)
  * 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
 
This page took 0.025613 seconds and 4 git commands to generate.