6 Commits

Author SHA1 Message Date
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
8b81b69317 libevent: Add source headers to header target 2020-06-02 04:22:27 -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
3fec229bb7 Remove unnecessary -I include
config-posix.h is being phased out.
2018-04-17 14:27:26 -07:00
Michael Forney
e5cfa84477 Move $outdir/fetch.stamp -> $dir/fetch 2017-10-23 21:43:33 -07:00
Michael Forney
ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00