mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
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:
parent
a610a06b22
commit
c4c23b9603
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user