Changeset 5382 for trunk/fsource/SConstruct
- Timestamp:
- Nov 19, 2022 8:32:33 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fsource/SConstruct
r5379 r5382 149 149 if ARGUMENTS.get('TMP'): 150 150 tmpdir = ARGUMENTS.get('TMP') 151 NISTcompileFlags = '' 151 152 if FCompiler == 'gfortran': 152 153 if ARGUMENTS.get('LIBGCC', '').upper().startswith('T'): 153 154 LDFLAGS += ' -static-libgcc' 154 print('LIBGCC') 155 NISTcompileFlags += ' -static-libgcc' 156 print('Static LIBGCC requested') 155 157 if ARGUMENTS.get('LIBGFORTRAN', '').upper().startswith('T'): 156 158 LDFLAGS += ' -static-libgfortran' 157 print('LIBGfortran') 159 NISTcompileFlags += ' -static-libgfortran' 160 print('Static LIBGfortran requested') 158 161 159 162 #========================================================================================== … … 374 377 #exe = os.path.splitext(str(source[0]))[0] + EXEsuffix 375 378 exe = target 376 cmd = os.path.join(FORTpath,FCompiler) + ' $SOURCE ' + NISTlib[0] + ' -o $TARGET' 379 cmd = os.path.join(FORTpath,FCompiler) + ' $SOURCE ' + NISTlib[0] + ' -o $TARGET' + NISTcompileFlags 377 380 if sys.platform == "win32": 378 381 installcmd = "copy $TARGET " + InstallLoc
Note: See TracChangeset
for help on using the changeset viewer.