Chromium Code Reviews| Index: ports/nettle/build.sh |
| diff --git a/ports/libelf/build.sh b/ports/nettle/build.sh |
| similarity index 54% |
| copy from ports/libelf/build.sh |
| copy to ports/nettle/build.sh |
| index 1df056b9a747cdde7b2db6c2a549adbd2353c223..ba92bb4669eccf744d9c9ab2c497b001e07521f8 100644 |
| --- a/ports/libelf/build.sh |
| +++ b/ports/nettle/build.sh |
| @@ -1,10 +1,8 @@ |
| +#!/bin/bash |
|
Sam Clegg
2015/02/23 17:17:33
Drop the #!, these script aren't runnable on their
cschuet (SLOW)
2015/02/23 18:37:09
Done.
|
| # Copyright 2015 The Native Client Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| -INSTALL_TARGETS="install instroot=${DESTDIR}" |
| - |
| -if [[ ${NACL_ARCH} == pnacl ]]; then |
| - export libelf_cv_int32=int |
| - export libelf_cv_int16=short |
| +if [ "${NACL_LIBC}" = "newlib" ]; then |
|
Sam Clegg
2015/02/23 17:17:33
"${NACL_SHARED}" != "1"
cschuet (SLOW)
2015/02/23 18:37:09
Done.
|
| + EXTRA_CONFIGURE_ARGS+=" --disable-shared" |
| fi |