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

Unified Diff: ports/physfs/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/libyuv/build.sh ('k') | ports/python-static/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/physfs/build.sh
diff --git a/ports/physfs/build.sh b/ports/physfs/build.sh
index 610cca5be3239d4525627e341f4991df67a61e1a..4e2f5d2d549c129f38c6c884fc8111434204771b 100644
--- a/ports/physfs/build.sh
+++ b/ports/physfs/build.sh
@@ -8,6 +8,13 @@ BUILD_SHARED=FALSE
# library.
BUILD_TEST=FALSE
+# 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
+
EXTRA_CMAKE_ARGS=" \
-DPHYSFS_BUILD_SHARED=${BUILD_SHARED} \
-DPHYSFS_BUILD_TEST=${BUILD_TEST} \
« no previous file with comments | « ports/libyuv/build.sh ('k') | ports/python-static/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698