diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/libelf/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libelf/SConscript b/ext/libelf/SConscript index 1e7fbb465..7f33990d8 100644 --- a/ext/libelf/SConscript +++ b/ext/libelf/SConscript @@ -91,7 +91,7 @@ ElfFile('libelf_msize.c') m4env = main.Clone() if m4env['GCC']: - major,minor,dot = [ int(x) for x in m4env['CXXVERSION'].split('.')] + major,minor,dot = [int(x) for x in m4env['GCC_VERSION'].split('.')] if major >= 4: m4env.Append(CCFLAGS=['-Wno-pointer-sign']) m4env.Append(CCFLAGS=['-Wno-implicit']) |