add clause for gcc 3.0

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1644 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-03-01 13:29:22 +00:00
parent bb2aa47875
commit ec086eb6e6
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* lyxinclude.m4 (LYX_PROG_CXX): add clause for gcc 3.0
2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxinclude.m4 (LYX_PROG_CXX): do not use -fno-rtti for gcc * lyxinclude.m4 (LYX_PROG_CXX): do not use -fno-rtti for gcc

View File

@ -190,6 +190,7 @@ dnl Check the version of g++
2.96*) CXXFLAGS="-g $lyx_opt -fno-exceptions";; 2.96*) CXXFLAGS="-g $lyx_opt -fno-exceptions";;
2.97*) CXXFLAGS="-g $lyx_opt -fvtable-thunks -fno-builtin -ffunction-sections -fdata-sections" 2.97*) CXXFLAGS="-g $lyx_opt -fvtable-thunks -fno-builtin -ffunction-sections -fdata-sections"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE=1";; CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE=1";;
3.0*) CXXFLAGS="-g $lyx_opt -fvtable-thunks -fno-builtin -ffunction-sections -fdata-sections";;
*2.91.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";; *2.91.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";; *) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
esac esac