From d1ca0645a07da393feed327719736653f5578aec Mon Sep 17 00:00:00 2001
From: Patrick McDermott <patrick.mcdermott@libiquity.com>
Date: Mon, 20 Jul 2020 05:56:27 -0400
Subject: build: Add build and install commands

---
diff --git a/build b/build
index db67b14..a545b63 100755
--- a/build
+++ b/build
@@ -6,5 +6,20 @@ nop:
 	@:
 
 build:
+	oh-autoconfigure -- \
+		--disable-memory \
+		--enable-singlethreaded \
+		--disable-oldnames \
+		--disable-examples \
+		--enable-ocsp --enable-ocspstapling --enable-ocspstapling2 \
+		--disable-oldtls \
+		--enable-sni \
+		--disable-aescbc \
+		--disable-md5 \
+		--enable-maxstrength \
+		--disable-errorstrings \
+		CFLAGS='-DNO_WOLFSSL_SERVER -DNO_SESSION_CACHE'
+	oh-autobuild
 
-install:
+install: build
+	oh-autoinstall
--
cgit v0.9.1