Browse Source

configure.ac: add gcc option -fno-optimize-sibling-calls when available

Nathalie Furmento 7 years ago
parent
commit
93c014e336
1 changed files with 1 additions and 0 deletions
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -2590,6 +2590,7 @@ if test "x$STARPU_DEVEL" != x; then
 	IS_SUPPORTED_CFLAG(-Wundef)
 	IS_SUPPORTED_CFLAG(-Wshadow)
 	IS_SUPPORTED_CFLAG(-Werror=pointer-arith)
+	IS_SUPPORTED_CFLAG(-fno-optimize-sibling-calls)
 fi
 AM_CONDITIONAL([STARPU_DEVEL],[test "x$STARPU_DEVEL" != x])