diff options
author | wchang0222%aol.com <devnull@localhost> | 2004-05-21 21:26:18 +0000 |
---|---|---|
committer | wchang0222%aol.com <devnull@localhost> | 2004-05-21 21:26:18 +0000 |
commit | aa691ce45dc111e5de19aaae11bf2315c8cdc16d (patch) | |
tree | feeeb39b46fd334718d15e246852d514a0fb6805 | |
parent | 00eab584bc95b3779a8fe3d1efced42269148a23 (diff) | |
download | nspr-hg-aa691ce45dc111e5de19aaae11bf2315c8cdc16d.tar.gz |
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.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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" diff --git a/configure.in b/configure.in index 3fa56305..c6319ea0 100644 --- a/configure.in +++ b/configure.in @@ -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" |