diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-03-27 10:05:52 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-03-27 10:06:16 +0000 |
commit | bd3fe9895c23e39b01987b77978571cc419eb815 (patch) | |
tree | 5e957338a236e24bd928950e254a41ec94c9298f /baserock-bootstrap | |
parent | 90f3f2f708c5a2407f94d01344aa8c8b4644060d (diff) | |
download | morph-bd3fe9895c23e39b01987b77978571cc419eb815.tar.gz |
Use -mfloat-abi=softfp for now until we have GCC > 4.4 in the chroot.
The combination -mfpu=vfpv3-d16 =mfloat-abi=hard is only supported from
GCC > 4.5, according to
http://wiki.debian.org/ArmHardFloatPort/VfpComparison
If we want hard float we'll have to switch to a more recent version of
GCC installed in the squeeze chroot we run baserock-bootstrap in.
Upstream GCC 4.5 supports it, as does the CodeSourcery 2009q1 compiler.
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-x | baserock-bootstrap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap index 72d9e018..847ae85e 100755 --- a/baserock-bootstrap +++ b/baserock-bootstrap @@ -16,7 +16,7 @@ export LC_ALL=C if (uname -m | grep arm) >/dev/null; then export LFS_TGT=$(uname -m)-lfs-linux-gnueabi - export TARGET_CFLAGS="-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" + export TARGET_CFLAGS="-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp" else export LFS_TGT=$(uname -m)-lfs-linux-gnu export TARGET_CFLAGS= |