Bug 454376 add -lCrun -lCstd for Solaris OS_LIBS, r=bsmedberg
authorGinn Chen <ginn.chen@sun.com>
Sun, 28 Sep 2008 21:06:06 +0800
changeset 19838 914b6ce602ee
parent 19837 70d1549c2ed8
child 19839 e72c9aaa9efb
push id2482
push userginn.chen@sun.com
push dateSun, 28 Sep 2008 13:08:12 +0000
treeherdermozilla-central@914b6ce602ee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs454376
milestone1.9.1b1pre
Bug 454376 add -lCrun -lCstd for Solaris OS_LIBS, r=bsmedberg
configure.in
--- a/configure.in
+++ b/configure.in
@@ -2457,16 +2457,17 @@ alpha*-*-osf*)
 dnl the qsort routine under solaris is faulty
 *-solaris*) 
     AC_DEFINE(SOLARIS)
     TARGET_NSPR_MDCPUCFG='\"md/_solaris.cfg\"'
     SYSTEM_MAKEDEPEND=
     # $ORIGIN/.. is for shared libraries under components/ to locate shared
     # libraries one level up (e.g. libnspr4.so)
     LDFLAGS="$LDFLAGS -z ignore -R '\$\$ORIGIN:\$\$ORIGIN/..'"
+    LIBS="-lCrun -lCstd $LIBS"
     MOZ_MEMORY=1
     if test -z "$GNU_CC"; then
        NS_USE_NATIVE=1
        MOZ_FIX_LINK_PATHS=
        AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
 
        if test "$CPU_ARCH" != "sparc"; then
           CFLAGS="$CFLAGS -xlibmieee -xstrconst -xbuiltin=%all"