| Age | Commit message (Collapse) | Author |
|
|
|
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).
|
|
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.
|
|
|
|
Now, you can build in separate directories per configuration:
mkdir foo
(cd foo && ../setup.lua)
samu -C foo
|
|
|
|
The portable version is no longer maintained.
|
|
|
|
|
|
b99ef6bfc544b340d6ea0d07b82f764539cc62e9
`git commit -a` with ignored submodules strikes again. I really
should report a bug about this.
|
|
|
|
|
|
This way we can use -MMD to exclude system header files and still retain
dependency tracking within oasis.
|
|
|