Changeset 28514 for trunk/base


Ignore:
Timestamp:
Sep 2, 2007, 9:39:44 PM (12 years ago)
Author:
mww@…
Message:

also add 'FCFLAGS' for more Fortran++

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/portfile.7

    r28513 r28514  
    828828.It Ic configure.f90flags
    829829Flags to put in the F90FLAGS environment variable when invoking the configure script.
     830.br
     831.Sy Type:
     832.Em optional
     833.br
     834.Sy Default:
     835.Em -O2
     836.It Ic configure.fcflags
     837Flags to put in the FCFLAGS environment variable when invoking the configure script.
    830838.br
    831839.Sy Type:
  • trunk/base/src/port1.0/portconfigure.tcl

    r28513 r28514  
    5454
    5555# Configure special environment variables.
    56 options configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags
     56options configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags configure.fcflags
    5757# We could have default debug/optimization flags at some point.
    5858default configure.cflags        {-O2}
     
    6262default configure.fflags        {-O2}
    6363default configure.f90flags      {-O2}
     64default configure.fcflags       {-O2}
    6465
    6566# Universal options & default values.
     
    116117    global [info globals]
    117118    global worksrcpath use_configure use_autoconf use_automake use_xmkmf
    118     global configure.env configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags
     119    global configure.env configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags configure.fcflags
    119120    global configure.cc configure.cxx configure.cpp configure.f77 configure.f90 configure.fc configure.compiler prefix
    120121    global os.platform os.major
     
    235236                append_list_to_environment_value configure "FFLAGS" ${configure.fflags}
    236237                append_list_to_environment_value configure "F90FLAGS" ${configure.f90flags}
     238                append_list_to_environment_value configure "FCFLAGS" ${configure.fcflags}
    237239
    238240                # Execute the command (with the new environment).
Note: See TracChangeset for help on using the changeset viewer.