Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: ports/python-static/build.sh

Issue 730193002: Fix more compile failures caused by recent ARM toolchain upgrade. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/physfs/build.sh ('k') | ports/python/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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=.
« no previous file with comments | « ports/physfs/build.sh ('k') | ports/python/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698