commit | 4731979ab092e6324e563d5738387e6ce21c3812 | [log] [tgz] |
---|---|---|
author | Andreas Hansson <andreas.hansson@arm.com> | Mon Jan 07 13:05:35 2013 -0500 |
committer | Andreas Hansson <andreas.hansson@arm.com> | Mon Jan 07 13:05:35 2013 -0500 |
tree | 1b289df0060aacb8eed4d533d54979e3b57b8985 | |
parent | b7827a5aaaf501f494947e2307ced9a78e2bc220 [diff] |
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.