зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug 235381: use the -features=tmplife flag for Sun compilers to
enable Standard C++ lifetime of temporary objects. The patch is contributed by Andreas Lange <anlan@ida.liu.se>. r=wtc. sr=darin.
This commit is contained in:
Родитель
daf5d2563b
Коммит
7572cc8684
|
@ -4583,7 +4583,7 @@ EOF
|
|||
fi
|
||||
else
|
||||
CFLAGS="$CFLAGS -xstrconst"
|
||||
CXXFLAGS="$CXXFLAGS -Qoption cg -xstrconst"
|
||||
CXXFLAGS="$CXXFLAGS -Qoption cg -xstrconst -features=tmplife"
|
||||
if test -z "$MOZ_OPTIMIZE"; then
|
||||
CFLAGS="$CFLAGS -xs"
|
||||
CXXFLAGS="$CXXFLAGS -xs"
|
||||
|
|
|
@ -1689,7 +1689,7 @@ mips-sony-newsos*)
|
|||
fi
|
||||
else
|
||||
CFLAGS="$CFLAGS -xstrconst"
|
||||
CXXFLAGS="$CXXFLAGS -Qoption cg -xstrconst"
|
||||
CXXFLAGS="$CXXFLAGS -Qoption cg -xstrconst -features=tmplife"
|
||||
if test -z "$MOZ_OPTIMIZE"; then
|
||||
CFLAGS="$CFLAGS -xs"
|
||||
CXXFLAGS="$CXXFLAGS -xs"
|
||||
|
|
Загрузка…
Ссылка в новой задаче