summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* config: Test-compile packages even if pkg-config says they existTavian Barnes2024-04-192-55/+55
| | | | This fixes `make config CC=musl-gcc`, for example.
* config: Add missing copyright headersTavian Barnes2024-04-195-0/+15
| | | | | They're probably too trivial to be copyrightable, but might as well include the SPDX tags for consistency anyway.
* tests: Add ../src to the include pathTavian Barnes2024-04-191-0/+1
|
* config: Use ✔/✘ rather than [y]/[n]Tavian Barnes2024-04-191-2/+2
|
* config: Remove unused ${ARCH} variableTavian Barnes2024-04-191-1/+0
|
* config: Remove explicit -MF from DEPFLAGSTavian Barnes2024-04-191-1/+1
| | | | We use the default name anyway.
* config: Fix ${SAN} on BSD makeTavian Barnes2024-04-191-1/+2
| | | | | | This seems to have hit some BSD make limitation, making it set `SAN := y` unconditionally for some reason. Breaking up the expression fixes it.
* config: Don't build config tests with -o /dev/nullTavian Barnes2024-04-191-2/+8
| | | | | | | | | macOS doesn't like it, complaining that error: cannot parse the debug map for '/dev/null': The file was not recognized as a valid object file clang: error: dsymutil command failed with exit code 1 (use -v to see invocation) Use a temporary file instead.
* config: Delete gen/objs.mkTavian Barnes2024-04-171-10/+0
| | | | | Rather than explicitly listing all these dependencies, we can rely on DEPFLAGS to generate them for us.
* build: Directly generate version.cTavian Barnes2024-04-175-10/+12
|
* build: Dont include ${BUILDDIR} in short messagesTavian Barnes2024-04-176-8/+14
|
* build: Add back the default CFLAGSTavian Barnes2024-04-171-6/+20
|
* build: Properly export PKG_CONFIGTavian Barnes2024-04-172-0/+2
|
* build: Make the config scripts POSIX-compliantTavian Barnes2024-04-173-15/+17
|
* build: Support NOLIBS=1Tavian Barnes2024-04-171-1/+1
|
* build: Refactor configurationTavian Barnes2024-04-1611-125/+419
| | | | | | We now use a recursive make invocation to do the work of `make config`. The new implementation is also compatible with GNU make 3.81 found on macOS.
* build: Fix FreeBSD *SAN buildsTavian Barnes2024-04-111-1/+1
|
* build: Factor out vars.mk generation into a scriptTavian Barnes2024-04-101-0/+81
|
* build: Run pkg-config with all packages at onceTavian Barnes2024-04-107-44/+98
|
* config/cc.sh: Pass all the flags when running the compilerTavian Barnes2024-04-101-4/+8
|
* build: Add optional libselinux dependencyTavian Barnes2024-04-102-0/+9
|
* build: Add a separate configuration stepTavian Barnes2024-04-098-0/+150