IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:39:02 AM (14 years ago)
Author:
eugene
Message:

add -no-as-needed and -debug-build options to psbuild; add -bootstrap current option; add more verbosity and debug options to pscheckmods; add -clean option to pscheckperl; set LDFLAGS with no-as-needed if we are using Ubuntu with gcc 4.6.3; update Module::Build to version 0.3601 (note: 0.40 requires updates to other modules); update Params:Validate to 0.96 to deal with change to "ref" command; update DBI and DBD:mysql to handle change of xcode namespace; use linker SEARCH_DIR and cpp include information to set hidden search paths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psconfig.csh.in

    r31162 r34087  
    125125if ($?PERL5LIB == 0) setenv PERL5LIB
    126126if ($?MANPATH == 0) setenv MANPATH
     127if ($?LDFLAGS == 0) setenv LDFLAGS
    127128
    128129# identify system architecture
     
    318319 case linux:
    319320 case linrh:
     321   gcc --version | grep 4.6.3 | grep Ubuntu >& /dev/null
     322   if ($status == 0) then
     323    set xtraflags = "-Wl,--no-as-needed"
     324    echo $LDFLAGS | grep -- $xtraflags >& /dev/null
     325    if ($status) then
     326      setenv LDFLAGS "$LDFLAGS $xtraflags"
     327    endif
     328   endif 
    320329   breaksw;
    321330
    322331 case lin64:
    323332 case linrh64:
     333   gcc --version | grep 4.6.3 | grep Ubuntu >& /dev/null
     334   if ($status == 0) then
     335    set xtraflags = "-Wl,--no-as-needed"
     336    echo $LDFLAGS | grep -- $xtraflags >& /dev/null
     337    if ($status) then
     338      setenv LDFLAGS "$LDFLAGS $xtraflags"
     339    endif
     340   endif 
    324341   set xtralibs = ( $xtralibs "/usr/lib64" "/usr/X11R6/lib64" "/lib64" )
    325342   breaksw;
Note: See TracChangeset for help on using the changeset viewer.