Work around gcc 2.95.x bug on irix by defining -D_LANGUAGE_C_PLUS_PLUS.

Bug #79282 r=wtc a=asa
This commit is contained in:
cls%seawood.org 2001-06-20 01:09:47 +00:00
parent a610a06b22
commit c4c23b9603
2 changed files with 341 additions and 337 deletions

676
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -686,6 +686,7 @@ case "$target" in
if test "$GNU_CC"; then
MKSHLIB_FORCE_ALL='-Wl,-all'
MKSHLIB_UNFORCE_ALL='-Wl,-none'
CXXFLAGS="$CXXFLAGS -D_LANGUAGE_C_PLUS_PLUS"
else
MKSHLIB_FORCE_ALL='-all'
MKSHLIB_UNFORCE_ALL='-none'
@ -705,6 +706,7 @@ case "$target" in
MKSHLIB_UNFORCE_ALL='-Wl,-none'
_WARNINGS_CFLAGS="-Wall"
_WARNINGS_CXXFLAGS="-Wall"
CXXFLAGS="$CXXFLAGS -D_LANGUAGE_C_PLUS_PLUS"
else
MKSHLIB_FORCE_ALL='-all'
MKSHLIB_UNFORCE_ALL='-none'