SConscript (5711:93eb7f618517) | SConscript (5765:fdfd6e4aad66) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 74 unchanged lines hidden (view full) --- 83ElfFile('libelf_shdr.c') 84ElfFile('libelf_xlate.c') 85 86ElfFile('libelf_convert.c') 87ElfFile('libelf_fsize.c') 88ElfFile('libelf_msize.c') 89 90m4env = env.Copy() | 1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 74 unchanged lines hidden (view full) --- 83ElfFile('libelf_shdr.c') 84ElfFile('libelf_xlate.c') 85 86ElfFile('libelf_convert.c') 87ElfFile('libelf_fsize.c') 88ElfFile('libelf_msize.c') 89 90m4env = env.Copy() |
91m4env.Append(CCFLAGS=['-Wno-pointer-sign', '-Wno-implicit']) | 91if env['GCC']: 92 major,minor,dot = [ int(x) for x in env['CXXVERSION'].split('.')] 93 if major >= 4: 94 m4env.Append(CCFLAGS=['-Wno-pointer-sign']) 95m4env.Append(CCFLAGS=['-Wno-implicit']) |
92del m4env['CPPPATH'] 93 94# If we have gm4 use it 95if m4env.Detect('gm4'): 96 m4env['M4'] = 'gm4' 97 98# Check that m4 is available 99import SCons.Tool.m4 --- 22 unchanged lines hidden --- | 96del m4env['CPPPATH'] 97 98# If we have gm4 use it 99if m4env.Detect('gm4'): 100 m4env['M4'] = 'gm4' 101 102# Check that m4 is available 103import SCons.Tool.m4 --- 22 unchanged lines hidden --- |