Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Unified Diff: ports/nettle/build.sh

Issue 953493002: New port: nettle (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: added dependency on gmp to make nettle build libhogweed (needed by gnutls) Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ports/nettle/nacl.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | ports/nettle/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698