Changeset 28511 for trunk/base


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

add 'configure.fflags' for fortran flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portconfigure.tcl

    r28478 r28511  
    5454
    5555# Configure special environment variables.
    56 options configure.cflags configure.cppflags configure.cxxflags configure.ldflags
     56options configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags
    5757# We could have default debug/optimization flags at some point.
    5858default configure.cflags        {-O2}
     
    6060default configure.cxxflags      {-O2}
    6161default configure.ldflags       {"-L${prefix}/lib"}
     62default configure.fflags        {""}
    6263
    6364# Universal options & default values.
     
    114115    global [info globals]
    115116    global worksrcpath use_configure use_autoconf use_automake use_xmkmf
    116     global configure.env configure.cflags configure.cppflags configure.cxxflags configure.ldflags
     117    global configure.env configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags
    117118    global configure.cc configure.cxx configure.cpp configure.f77 configure.f90 configure.fc configure.compiler prefix
    118119    global os.platform os.major
     
    231232                append_list_to_environment_value configure "CXXFLAGS" ${configure.cxxflags}
    232233                append_list_to_environment_value configure "LDFLAGS" ${configure.ldflags}
     234                append_list_to_environment_value configure "FFLAGS" ${configure.fflags}
    233235
    234236                # Execute the command (with the new environment).
Note: See TracChangeset for help on using the changeset viewer.