Commit 5ff15bdd authored by Mario Sanchez Prada's avatar Mario Sanchez Prada Committed by Erik de Castro Lopo
Browse files : Pass -fno-inline-small-functions when using GCC 4.7

For some reason, the build fails when using GCC 4.7 due to the implicit
-finline-functions option passed to the compiler when -O3 is enabled,
which does not happen in newer versions of GCC, probably due to some of
the "General Optimizer Improvements" included in 4.8 (see [1]).

Fortunately, we don't need to disable -finline-functions completely but
just do it for "small functions", which is what this patch does.



Signed-off-by: Erik de Castro Lopo's avatarErik de Castro Lopo <>
parent 0cacc0c0
......@@ -397,6 +397,10 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x47" ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment