mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
add -fpermissive for gcc 2.95.x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@284 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
546f5fcf51
commit
42c015f59e
@ -5,6 +5,9 @@
|
||||
|
||||
1999-11-03 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
|
||||
is used.
|
||||
|
||||
* src/support/lyxstring.C: some changes from length() to rep->sz.
|
||||
avoids a function call.
|
||||
|
||||
|
@ -184,6 +184,7 @@ dnl Check the version of g++
|
||||
elif test $ac_cv_prog_cxx_g = yes; then
|
||||
case $gxx_version in
|
||||
2.7*) CXXFLAGS="$lyx_opt";;
|
||||
2.95.*) CXXFLAGS="-g $lyx_opt -fno-exceptions -fno-rtti -fpermissive";;
|
||||
*) CXXFLAGS="-g $lyx_opt -fno-exceptions -fno-rtti";;
|
||||
esac
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user