summaryrefslogtreecommitdiff
path: root/ext/libelf/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libelf/SConscript')
-rw-r--r--ext/libelf/SConscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/libelf/SConscript b/ext/libelf/SConscript
index ac91a3025..a110602cc 100644
--- a/ext/libelf/SConscript
+++ b/ext/libelf/SConscript
@@ -93,8 +93,7 @@ ElfFile('libelf_msize.c')
m4env = main.Clone()
if m4env['GCC']:
- if compareVersions(m4env['GCC_VERSION'], '4') >= 0:
- m4env.Append(CCFLAGS=['-Wno-pointer-sign'])
+ m4env.Append(CCFLAGS=['-Wno-pointer-sign'])
if compareVersions(m4env['GCC_VERSION'], '4.6') >= 0:
m4env.Append(CCFLAGS=['-Wno-unused-but-set-variable',
'-Wno-implicit-function-declaration'])