summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-28 16:06:19 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-28 16:06:19 +0000
commit4e2288083c0e323f54fbdc375868f104487e9a01 (patch)
tree54b97b10fdc533bc1f0eb474c5695a41cfb3d95e
parenta6b7b3f30eb3f5ba6962689eb453cc7b2c94f2be (diff)
downloadeglibc2-4e2288083c0e323f54fbdc375868f104487e9a01.tar.gz
Pass --without-fp to ./configure on ARM.
-rwxr-xr-xeglibc.morph4
1 files changed, 3 insertions, 1 deletions
diff --git a/eglibc.morph b/eglibc.morph
index 866b4d8a8..507800c02 100755
--- a/eglibc.morph
+++ b/eglibc.morph
@@ -4,7 +4,9 @@
"configure-commands": [
"cd libc && ln -s ../ports ports",
"mkdir o",
- "cd o && CFLAGS=\"-O2 $CFLAGS\" ../libc/configure --prefix=\"$PREFIX\" --host=\"$TOOLCHAIN_TARGET\" --build=$(../libc/scripts/config.guess) --disable-profile --enable-add-ons --enable-kernel=2.6.25 --with-headers=\"$PREFIX/include\" --without-selinux -without-cvs libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes CFLAGS=\"-O2 $CFLAGS\" libc_cv_ssp=no"
+ "touch configure-flags",
+ "if echo \"$TOOLCHAIN_TARGET\" | grep arm; then echo \"--without-fp\" > configure-flags; fi",
+ "cd o && CFLAGS=\"-O2 $CFLAGS\" ../libc/configure $(cat configure-flags) --prefix=\"$PREFIX\" --host=\"$TOOLCHAIN_TARGET\" --build=$(../libc/scripts/config.guess) --disable-profile --enable-add-ons --enable-kernel=2.6.25 --with-headers=\"$PREFIX/include\" --without-selinux -without-cvs libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes CFLAGS=\"-O2 $CFLAGS\" libc_cv_ssp=no"
],
"build-commands": [
"cd o && make",