Commit Graph

8 Commits

Author SHA1 Message Date
Michael Forney 638ca3b1f4 acme-client: Port to BearSSL and x509cert 2021-05-06 02:23:45 -07:00
Michael Forney 1f2e769865 openbsd: Explicitly list the libc headers that are required
Previously, we just added the openbsd header directories to the
search path with -idirafter to prevent openbsd headers from being
used where we already have musl headers.

However, if the system had its own version of the headers (such as
sys/tree.h), those would get preferred over the openbsd versions,
which may result in build failures due to slight incompatibilities.

To fix this, just isolate the few headers we do need into their own
directory, and include it normally (with -I/-isystem).
2020-10-01 13:36:42 -07:00
Michael Forney d4297a13c8 Use -isystem to include library headers
This way, warnings from headers that come from another package (in
particular linux-headers) won't show up when they get included.

To make sure we still track dependencies, use -MD instead of -MMD.
2020-06-05 03:01:44 -07:00
Michael Forney b1ae871f5c acme-client: Build against libtls-bearssl 2020-04-22 23:49:42 -07:00
Michael Forney 051963c7fe Add support for building multiple configurations
Now, you can build in separate directories per configuration:

	mkdir foo
	(cd foo && ../setup.lua)
	samu -C foo
2020-01-29 22:14:33 -08:00
Michael Forney 0d1023ae1f acme-client: Build in a separate package directory 2019-12-04 00:52:51 -08:00
Michael Forney 02b6145e19 Use acme-client from openbsd
The portable version is no longer maintained.
2019-03-19 00:52:21 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00