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} \ |