OLD | NEW |
1 # Copyright 2014 The Native Client Authors. All rights reserved. | 1 # Copyright 2014 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 # Workaround for arm-gcc bug: |
| 6 # https://code.google.com/p/nativeclient/issues/detail?id=3205 |
| 7 # TODO(sbc): remove this once the issue is fixed |
| 8 if [ "${NACL_ARCH}" = "arm" ]; then |
| 9 NACLPORTS_CPPFLAGS+=" -mfpu=vfp" |
| 10 fi |
| 11 |
| 12 if [ "${NACL_LIBC}" = "newlib" ]; then |
| 13 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
| 14 fi |
| 15 |
5 EXECUTABLES="convert libyuv_unittest" | 16 EXECUTABLES="convert libyuv_unittest" |
6 | 17 |
7 TestStep() { | 18 TestStep() { |
8 if [ "${NACL_ARCH}" != pnacl ]; then | 19 if [ "${NACL_ARCH}" != pnacl ]; then |
9 ./libyuv_unittest.sh | 20 ./libyuv_unittest.sh |
10 fi | 21 fi |
11 } | 22 } |
OLD | NEW |