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. git-svn-id: svn://10.0.0.236/trunk@156736 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
2
mozilla/nsprpub/configure
vendored
2
mozilla/nsprpub/configure
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user