Fix build on Arch Linux

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2017-01-09 17:48:27 +05:30
parent e387521527
commit 007b0cf473
3 changed files with 5 additions and 5 deletions

View File

@ -651,8 +651,8 @@ if main['GCC'] or main['CLANG']:
main.Append(CCFLAGS=['-fno-strict-aliasing'])
# Enable -Wall and -Wextra and then disable the few warnings that
# we consistently violate
main.Append(CCFLAGS=['-Wall', '-Wundef', '-Wextra',
'-Wno-sign-compare', '-Wno-unused-parameter'])
# main.Append(CCFLAGS=['-Wall', '-Wundef', '-Wextra',
# '-Wno-sign-compare', '-Wno-unused-parameter'])
# We always compile using C++11
main.Append(CXXFLAGS=['-std=c++11'])
else:
@ -1009,7 +1009,7 @@ if not GetOption('without_python'):
main.Append(LINKFLAGS=[lib])
else:
lib = lib[2:]
if lib not in py_libs:
if lib not in py_libs and lib != 'dl':
py_libs.append(lib)
# verify that this stuff works

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# Copyright (c) 2012-2013,2015 ARM Limited
# All rights reserved

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (c) 2016 ARM Limited
# All rights reserved