]> git.lyx.org Git - features.git/blobdiff - acinclude.m4
fix the reformat bug, some small things
[features.git] / acinclude.m4
index 00ad1f508ea3be410750a50a1f955c2f1204395e..5a04deef980ab62e5a094a1af3bde6df4aa8aa77 100644 (file)
@@ -186,6 +186,7 @@ dnl Check the version of g++
       2.7*) CXXFLAGS="$lyx_opt";;
       2.95.1) CXXFLAGS="-g $lyx_opt -fpermissive -fno-rtti";;
       2.95.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
+      *2.91.*) CXXFLAGS="-g $lyx_opt -Wno-return-type -fno-exceptions -fno-rtti";;
       *)    CXXFLAGS="-g $lyx_opt -fno-exceptions -fno-rtti";;
     esac
   else