Changeset 1335


Ignore:
Timestamp:
04/18/07 16:22:24 (18 years ago)
Author:
mar637
Message:

added custom fortran location. added darwin release mode options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r1331 r1335  
    1111        moduledir = moduledir.replace("lib", "lib64")
    1212
    13 opts = Options("userconfig.py")
    14 opts.AddOptions(               
     13opts = Options("options.cfg")
     14opts.AddOptions(
    1515                ("FORTRAN", "The fortran compiler", None),
    1616                ("f2clib", "The fortran to c library", None),
     
    131131
    132132if env['mode'] == 'release':
    133     env.Append(LINKFLAGS=['-Wl,-O1'])
     133    if env["PLATFORM"] != "darwin":
     134        env.Append(LINKFLAGS=['-Wl,-O1', '-s'])
     135    env.Append(CCFLAGS=["-O2"])
     136else:
     137    env.Append(CCFLAGS=["-g"])
    134138
    135139# Export for SConscript files
Note: See TracChangeset for help on using the changeset viewer.