diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2009-12-17 20:57:13 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-04-17 02:10:58 +0200 |
commit | 55098e50488eeb163af8f63445bd3e7c52850410 (patch) | |
tree | 7313f3919042c0a8b79f6a0fd11e4142ce7f6a43 /package/buildroot-libtool.patch | |
parent | 05c75314c9f8f06522d520d2ea9e6d84d3db3668 (diff) |
busybox: make sure architecture flags are used at link time
When compiling Busybox, according to readelf -A, all object files were
properly compiled according to the select architecture (-march=armv4t
for example), but the final busybox binary could be of a different
architecture (ARMv5t even if ARMv4t was selected).
This patch changes the way we configure/compile Busybox so that our
CFLAGS aren't anymore passed through the make EXTRA_CFLAGS variable,
but through the .config CONFIG_EXTRA_CFLAGS variable. Unfortunately,
those variables don't have exactly the same semantic for the Busybox
build system.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/buildroot-libtool.patch')
0 files changed, 0 insertions, 0 deletions