scons: Fix libelf linking errors when using clang/llvm
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 7 Jan 2013 18:05:35 +0000 (13:05 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 7 Jan 2013 18:05:35 +0000 (13:05 -0500)
commit4731979ab092e6324e563d5738387e6ce21c3812
tree1b289df0060aacb8eed4d533d54979e3b57b8985
parentb7827a5aaaf501f494947e2307ced9a78e2bc220
scons: Fix libelf linking errors when using clang/llvm

This patch fixes a linking error that occurs when using clang/llvm in
combination with older versions of glibc. The fix involves adding
-std=gnu89 to the command line when compiling libelf as clang defaults
to c99, causing issues with the symbols in sysmacros.h being defined
multiple times.
ext/libelf/SConscript