Index: ports/python-static/build.sh |
diff --git a/ports/python-static/build.sh b/ports/python-static/build.sh |
index 581f3a7c71c5a7e290b039b7818c4f816d443ed6..fe4e51729a0bdd0034b344688b4b8a1d2bc53a4b 100644 |
--- a/ports/python-static/build.sh |
+++ b/ports/python-static/build.sh |
@@ -4,6 +4,13 @@ |
EXECUTABLES=python${NACL_EXEEXT} |
+# Workaround for arm-gcc bug: |
+# https://code.google.com/p/nativeclient/issues/detail?id=3205 |
+# TODO(sbc): remove this once the issue is fixed |
+if [ "${NACL_ARCH}" = "arm" ]; then |
+ NACLPORTS_CPPFLAGS+=" -mfpu=vfp" |
+fi |
+ |
# Currently this package only builds on linux. |
# The build relies on certain host binaries and python's configure |
# requires us to set --build= as well as --host=. |