summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2013-10-03 13:54:59 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2013-10-03 13:54:59 +0000
commit22031fb6dec5833bab6907c829f3f41eeac1ce05 (patch)
treef132d960da25bf4124bf317db79fc61806768eeb
parentf06c6df4db836f9a6acd0bf6da05649b089cd44f (diff)
downloadeglibc2-baserock/jannispohlmann/2.15-build-essential-armv7-hardfp.tar.gz
Make sure to run configure with --with-fp on ARMv7baserock/jannispohlmann/2.15-build-essential-armv7-hardfp
-rw-r--r--eglibc.morph1
-rwxr-xr-xmorph-arch-config4
2 files changed, 3 insertions, 2 deletions
diff --git a/eglibc.morph b/eglibc.morph
index 4efd311a9..8de4be0f3 100644
--- a/eglibc.morph
+++ b/eglibc.morph
@@ -11,6 +11,7 @@ configure-commands:
export CFLAGS="-O2 $CFLAGS"; cd o &&
../libc/configure \
$(../morph-arch-config) \
+ --with-fp \
--prefix="$PREFIX" \
--disable-profile \
--enable-kernel=2.6.25 \
diff --git a/morph-arch-config b/morph-arch-config
index e13b36496..03384153d 100755
--- a/morph-arch-config
+++ b/morph-arch-config
@@ -3,8 +3,8 @@
# morph-arch-config: ouput eglibc-specific configuration for specific
# Morph architectures
-# Morph does not support hard float platforms for now
+# Enforce hard float on ARMv7 platforms
case "$MORPH_ARCH" in
- armv7*) echo "--without-fp" ;;
+ armv7*) echo "--with-fp" ;;
esac