Index: ports/gnutls/build.sh |
diff --git a/ports/gnutls/build.sh b/ports/gnutls/build.sh |
new file mode 100644 |
index 0000000000000000000000000000000000000000..90db039c86cbb99df6d3cc85a84ff95a59ea6969 |
--- /dev/null |
+++ b/ports/gnutls/build.sh |
@@ -0,0 +1,16 @@ |
+# Copyright 2016 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. |
+ |
+EnableGlibcCompat |
+ |
+EXTRA_CONFIGURE_ARGS+=" |
+ --disable-tools |
+ --disable-doc |
+ --with-included-libtasn1 |
+ --without-p11-kit |
+ --disable-hardware-acceleration" |
+ |
+if [ "${NACL_SHARED}" != "1" ]; then |
+ EXTRA_CONFIGURE_ARGS+=" --disable-shared" |
+fi |