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/busybox/busybox-1.13.x.config | |
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/busybox/busybox-1.13.x.config')
-rw-r--r-- | package/busybox/busybox-1.13.x.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.13.x.config b/package/busybox/busybox-1.13.x.config index ee591627b..059a0b3a3 100644 --- a/package/busybox/busybox-1.13.x.config +++ b/package/busybox/busybox-1.13.x.config @@ -47,6 +47,7 @@ CONFIG_FEATURE_SYSLOG=y # CONFIG_FEATURE_SHARED_BUSYBOX is not set # CONFIG_LFS is not set CONFIG_CROSS_COMPILER_PREFIX="" +CONFIG_EXTRA_CFLAGS="" # # Debugging Options |