| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 if [ "${NACL_LIBC}" = "newlib" ]; then | 6 if [ "${NACL_LIBC}" = "newlib" ]; then |
| 7 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | 7 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
| 8 fi | 8 fi |
| 9 | 9 |
| 10 if [ "${NACL_SHARED}" = "0" ]; then | 10 PatchStep() { |
| 11 EXTRA_CONFIGURE_ARGS="--disable-dso" | 11 CONFIG_SUB=build-aux/config.sub |
| 12 fi | 12 DefaultPatchStep |
| 13 CONFIG_SUB=libcharset/build-aux/config.sub |
| 14 PatchConfigSub |
| 15 } |
| OLD | NEW |