Let Makefile.lite build succeed on FreeBSD amd64
[flac.git] / configure.ac
index 6f34c66..46cb916 100644 (file)
@@ -397,6 +397,10 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
                XIPH_ADD_CFLAGS([-fgnu89-inline])
                fi
 
+       if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x47" ; then
+               XIPH_ADD_CFLAGS([-fno-inline-small-functions])
+               fi
+
        if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
                XIPH_ADD_CFLAGS([-msse2])
                fi
@@ -488,6 +492,7 @@ AC_CONFIG_FILES([ \
        objs/release/Makefile \
        objs/release/bin/Makefile \
        objs/release/lib/Makefile \
+       microbench/Makefile
 ])
 AC_OUTPUT