build/unix/run-gprof.sh
author bugzilla@standard8.demon.co.uk
Fri, 30 Mar 2007 11:09:16 -0700
changeset 232 7cceaf37b4a7c3050ae9bb4a003a28d6640c1e0a
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Attempt to fix windows bustage when building latest c-sdk with mozilla apps as a result of bug 359716 - temporarily change c-sdk tag to blank this time, HEAD doesn't seem to work.

#!/bin/sh

LD_LIBRARY_PATH=.
export LD_LIBRARY_PATH

PROG=mozilla-bin
PLIBS=""

for l in *.so components/*.so; do
    PLIBS="$PLIBS -incobj $l"
done

$ECHO /bin/gprof -L. -Lcomponents -all $PLIBS $PROG $PROG.hiout