Changeset 1335
- Timestamp:
- 04/18/07 16:22:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r1331 r1335 11 11 moduledir = moduledir.replace("lib", "lib64") 12 12 13 opts = Options(" userconfig.py")14 opts.AddOptions( 13 opts = Options("options.cfg") 14 opts.AddOptions( 15 15 ("FORTRAN", "The fortran compiler", None), 16 16 ("f2clib", "The fortran to c library", None), … … 131 131 132 132 if 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"]) 136 else: 137 env.Append(CCFLAGS=["-g"]) 134 138 135 139 # Export for SConscript files
Note:
See TracChangeset
for help on using the changeset viewer.