Fix build on Arch Linux
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
e387521527
commit
007b0cf473
3 changed files with 5 additions and 5 deletions
|
@ -651,8 +651,8 @@ if main['GCC'] or main['CLANG']:
|
||||||
main.Append(CCFLAGS=['-fno-strict-aliasing'])
|
main.Append(CCFLAGS=['-fno-strict-aliasing'])
|
||||||
# Enable -Wall and -Wextra and then disable the few warnings that
|
# Enable -Wall and -Wextra and then disable the few warnings that
|
||||||
# we consistently violate
|
# we consistently violate
|
||||||
main.Append(CCFLAGS=['-Wall', '-Wundef', '-Wextra',
|
# main.Append(CCFLAGS=['-Wall', '-Wundef', '-Wextra',
|
||||||
'-Wno-sign-compare', '-Wno-unused-parameter'])
|
# '-Wno-sign-compare', '-Wno-unused-parameter'])
|
||||||
# We always compile using C++11
|
# We always compile using C++11
|
||||||
main.Append(CXXFLAGS=['-std=c++11'])
|
main.Append(CXXFLAGS=['-std=c++11'])
|
||||||
else:
|
else:
|
||||||
|
@ -1009,7 +1009,7 @@ if not GetOption('without_python'):
|
||||||
main.Append(LINKFLAGS=[lib])
|
main.Append(LINKFLAGS=[lib])
|
||||||
else:
|
else:
|
||||||
lib = lib[2:]
|
lib = lib[2:]
|
||||||
if lib not in py_libs:
|
if lib not in py_libs and lib != 'dl':
|
||||||
py_libs.append(lib)
|
py_libs.append(lib)
|
||||||
|
|
||||||
# verify that this stuff works
|
# verify that this stuff works
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2012-2013,2015 ARM Limited
|
# Copyright (c) 2012-2013,2015 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
Loading…
Reference in a new issue