Bug 548218: Reference to static function in function templates not allowed with Sun Studio compiler r=bsmedberg
This commit is contained in:
+1
-1
@@ -2640,7 +2640,7 @@ alpha*-*-osf*)
|
||||
MOZ_FIX_LINK_PATHS=
|
||||
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
|
||||
CFLAGS="$CFLAGS -xlibmieee -xstrconst -xbuiltin=%all"
|
||||
CXXFLAGS="$CXXFLAGS -xlibmieee -xbuiltin=%all -features=tmplife -norunpath"
|
||||
CXXFLAGS="$CXXFLAGS -xlibmieee -xbuiltin=%all -features=tmplife,tmplrefstatic -norunpath"
|
||||
LDFLAGS="-xildoff -z lazyload -z combreloc $LDFLAGS"
|
||||
if test -z "$CROSS_COMPILE" && test -f /usr/lib/ld/map.noexstk; then
|
||||
_SAVE_LDFLAGS=$LDFLAGS
|
||||
|
||||
+1
-1
@@ -2321,7 +2321,7 @@ alpha*-*-osf*)
|
||||
MOZ_FIX_LINK_PATHS=
|
||||
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
|
||||
CFLAGS="$CFLAGS -xlibmieee -xstrconst -xbuiltin=%all"
|
||||
CXXFLAGS="$CXXFLAGS -xlibmieee -xbuiltin=%all -features=tmplife -norunpath"
|
||||
CXXFLAGS="$CXXFLAGS -xlibmieee -xbuiltin=%all -features=tmplife,tmplrefstatic -norunpath"
|
||||
LDFLAGS="-xildoff -z lazyload -z combreloc $LDFLAGS"
|
||||
if test -z "$CROSS_COMPILE" && test -f /usr/lib/ld/map.noexstk; then
|
||||
_SAVE_LDFLAGS=$LDFLAGS
|
||||
|
||||
Reference in New Issue
Block a user