Changeset 1136
- Timestamp:
- 08/14/06 16:16:31 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r1135 r1136 7 7 8 8 moduledir = distutils.sysconfig.get_python_lib() 9 if platform.architecture()[0] == '64bit': 10 # hack to install into /usr/lib64 if scons is in the 32bit /usr/lib/ 11 if moduledir.startswith("/usr/lib/"): 12 moduledir.replace("lib", "lib64") 9 13 10 14 opts = Options("userconfig.py") … … 65 69 # general CPPFLAGS 66 70 env.Append(CPPFLAGS=['-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-O3']) 71 67 72 # 64bit flags 68 73 if platform.architecture()[0] == '64bit': 69 74 env.Append(CPPFLAGS=['-fPIC', '-D__x86_64__', '-DAIPS_64B']) 70 # hack to install into /usr/lib64 if scons is in the 32bit /usr/lib/ 71 if moduledir.startswith("/usr/lib/"): 72 moduledir.replace("lib","lib64") 75 73 76 if env["PLATFORM"] == "darwin": 74 77 env['SHLINKFLAGS'] = '$LINKFLAGS -bundle'
Note:
See TracChangeset
for help on using the changeset viewer.