patches/spidermonkey-05-pgo-ss12_2.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 3902 66caadcb64c4
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name

diff --git a/js/src/configure b/js/src/configure
index 0e98daf..11bb34f 100755
--- a/js/src/configure
+++ b/js/src/configure
@@ -14560,10 +14560,10 @@ if test -n "$INTEL_CC"; then
 fi
 
 if test "$SOLARIS_SUNPRO_CC"; then
-  PROFILE_GEN_CFLAGS="-xprofile=collect:$_objdir/$enable_application"
-  PROFILE_GEN_LDFLAGS="-xprofile=collect:$_objdir/$enable_application"
-  PROFILE_USE_CFLAGS="-xprofile=use:$_objdir/$enable_application"
-  PROFILE_USE_LDFLAGS="-xprofile=use:$_objdir/$enable_application"
+  PROFILE_GEN_CFLAGS="-xprofile=collect:$_objdir/../../$enable_application"
+  PROFILE_GEN_LDFLAGS="-xprofile=collect:$_objdir/../../$enable_application"
+  PROFILE_USE_CFLAGS="-xtemp=$_objdir -xlinkopt=2 -xprofile=use:$_objdir/../../$enable_application"
+  PROFILE_USE_LDFLAGS="-xtemp=$_objdir -xlinkopt=2 -xprofile=use:$_objdir/../../$enable_application"
 fi