Changeset 5917 for anuga_core/source/anuga/utilities/compile.py
- Timestamp:
- Nov 6, 2008, 5:18:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/compile.py
r5897 r5917 261 261 %(compiler, FN, python_include, utilities_include_dir, root) 262 262 263 if os.name == 'posix' and os.uname()[4] == 'x86_64': 264 #Extra flags for 64 bit architectures 265 #Second clause will always fail on Win32 because uname is UNIX specific 266 #but won't get past first clause 267 268 #FIXME: Which one? 269 #s += ' -fPIC' 270 s += ' -fPIC -m64' 263 if os.name == 'posix' and os.uname()[4] in ['x86_64', 'ia64']: 264 # Extra flags for 64 bit architectures. 265 # AMD Opteron will give x86_64 266 # Itanium will give ia64 267 # 268 # Second clause will always fail on Win32 because uname is UNIX specific 269 # but won't get past first clause 270 271 s += ' -fPIC' # Use position independent code for 64 bit archs 272 #s += ' -m64' # Used to be necessary for AMD Opteron 271 273 272 274
Note: See TracChangeset
for help on using the changeset viewer.