OLD | NEW |
1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # TODO(binji): turn on shared building for glibc (need -fPIC) | 5 # TODO(binji): turn on shared building for glibc (need -fPIC) |
6 BUILD_SHARED=FALSE | 6 BUILD_SHARED=FALSE |
7 # TODO(binji): The tests don't currently build without zlib as a shared | 7 # TODO(binji): The tests don't currently build without zlib as a shared |
8 # library. | 8 # library. |
9 BUILD_TEST=FALSE | 9 BUILD_TEST=FALSE |
10 | 10 |
| 11 # Workaround for arm-gcc bug: |
| 12 # https://code.google.com/p/nativeclient/issues/detail?id=3205 |
| 13 # TODO(sbc): remove this once the issue is fixed |
| 14 if [ "${NACL_ARCH}" = "arm" ]; then |
| 15 NACLPORTS_CPPFLAGS+=" -mfpu=vfp" |
| 16 fi |
| 17 |
11 EXTRA_CMAKE_ARGS=" \ | 18 EXTRA_CMAKE_ARGS=" \ |
12 -DPHYSFS_BUILD_SHARED=${BUILD_SHARED} \ | 19 -DPHYSFS_BUILD_SHARED=${BUILD_SHARED} \ |
13 -DPHYSFS_BUILD_TEST=${BUILD_TEST} \ | 20 -DPHYSFS_BUILD_TEST=${BUILD_TEST} \ |
14 -DPHYSFS_HAVE_MNTENT_H=FALSE" | 21 -DPHYSFS_HAVE_MNTENT_H=FALSE" |
OLD | NEW |