SConscript (5765:fdfd6e4aad66) | SConscript (5863:f73e06bc8765) |
---|---|
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 --- 73 unchanged lines hidden (view full) --- 82ElfFile('libelf_phdr.c') 83ElfFile('libelf_shdr.c') 84ElfFile('libelf_xlate.c') 85 86ElfFile('libelf_convert.c') 87ElfFile('libelf_fsize.c') 88ElfFile('libelf_msize.c') 89 | 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 --- 73 unchanged lines hidden (view full) --- 82ElfFile('libelf_phdr.c') 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() | 90m4env = env.Clone() |
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']) 96del m4env['CPPPATH'] 97 98# If we have gm4 use it --- 27 unchanged lines hidden --- | 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']) 96del m4env['CPPPATH'] 97 98# If we have gm4 use it --- 27 unchanged lines hidden --- |