IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18878 for trunk/Ohana


Ignore:
Timestamp:
Aug 3, 2008, 5:26:21 PM (18 years ago)
Author:
eugene
Message:

adding options for profiler code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/configure.tcsh

    r18685 r18878  
    5252   set optimize = 1
    5353   breaksw;
     54  case --enable-profile
     55   set profile = 1
     56   breaksw;
    5457  case --enable-memcheck
    5558   set memcheck = 1
     
    158161if ($optimize) set CFLAGS = "-O2"
    159162
     163# profiler code
     164if ($profile) set CFLAGS = "$CFLAGS -pg"
     165
    160166if (! $?CPPFLAGS) then
    161167  set CPPFLAGS = ""
     
    167173  set LDFLAGS =
    168174endif 
     175if ($profile) set LDFLAGS = "$LDFLAGS -Wl,--start-group -Wl,-Bstatic -Wl,-Bdynamic"
    169176
    170177set syslibpath = "/lib /usr/lib /usr/X11R6/lib /usr/local/lib"
Note: See TracChangeset for help on using the changeset viewer.