| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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 source pkg_info | |
| 7 source ../../build_tools/common.sh | |
| 8 | 6 |
| 9 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS} -DMAXPATHLEN=512 -DHAVE_STDARG_H" | 7 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS} -DMAXPATHLEN=512 -DHAVE_STDARG_H" |
| 10 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS} -Dcompat_makedev\(a,b\)" | 8 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS} -Dcompat_makedev\(a,b\)" |
| 11 if [ "${NACL_GLIBC}" = "1" ]; then | 9 if [ "${NACL_GLIBC}" = "1" ]; then |
| 12 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS} -fPIC" | 10 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS} -fPIC" |
| 13 fi | 11 fi |
| 14 | |
| 15 DefaultPackageInstall | |
| 16 exit 0 | |
| OLD | NEW |