Changeset 28513 for trunk/base


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

also add 'configure.f90flags' for Fortran 90 flags

Location:
trunk/base
Files:
2 edited

Legend:

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

    r28512 r28513  
    820820.It Ic configure.fflags
    821821Flags to put in the FFLAGS environment variable when invoking the configure script.
     822.br
     823.Sy Type:
     824.Em optional
     825.br
     826.Sy Default:
     827.Em -O2
     828.It Ic configure.f90flags
     829Flags to put in the F90FLAGS environment variable when invoking the configure script.
    822830.br
    823831.Sy Type:
  • trunk/base/src/port1.0/portconfigure.tcl

    r28512 r28513  
    5454
    5555# Configure special environment variables.
    56 options configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags
     56options configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags
    5757# We could have default debug/optimization flags at some point.
    5858default configure.cflags        {-O2}
     
    6161default configure.ldflags       {"-L${prefix}/lib"}
    6262default configure.fflags        {-O2}
     63default configure.f90flags      {-O2}
    6364
    6465# Universal options & default values.
     
    115116    global [info globals]
    116117    global worksrcpath use_configure use_autoconf use_automake use_xmkmf
    117     global configure.env configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags
     118    global configure.env configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags
    118119    global configure.cc configure.cxx configure.cpp configure.f77 configure.f90 configure.fc configure.compiler prefix
    119120    global os.platform os.major
     
    233234                append_list_to_environment_value configure "LDFLAGS" ${configure.ldflags}
    234235                append_list_to_environment_value configure "FFLAGS" ${configure.fflags}
     236                append_list_to_environment_value configure "F90FLAGS" ${configure.f90flags}
    235237
    236238                # Execute the command (with the new environment).
Note: See TracChangeset for help on using the changeset viewer.