summaryrefslogtreecommitdiffstats
path: root/build/flags.mk
Commit message (Collapse)AuthorAgeFilesLines
* xspawn: Use _Fork() if availableTavian Barnes2024-07-271-0/+1
| | | | | | | This completes the workaround for bfs_spawn() hanging on FreeBSD with ASan enabled. Link: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280318
* build/flags: Add -Wmissing-variable-declarations if supportedTavian Barnes2024-07-271-1/+2
|
* build/flags: Infrastructure to detect compiler flag supportTavian Barnes2024-07-271-1/+19
| | | | Use it to detect -MD -MP support.
* Revert "build: Add -Wmissing-variable-declarations"Tavian Barnes2024-06-081-1/+0
| | | | | | Turns out that flag was only added in GCC 14. This reverts commit 7cddd64b3131812b82feffe2deb311bf6ab9a262.
* build: Add -Wmissing-variable-declarationsTavian Barnes2024-06-081-0/+1
|
* build: Simplify flags.mkTavian Barnes2024-05-211-64/+43
|
* build: Fix ubsan CFLAGS typoTavian Barnes2024-05-211-1/+1
|
* build: Allow flags.mk to override command line variablesTavian Barnes2024-05-211-22/+22
| | | | | | | | Previously, during something like ./configure LDFLAGS=..., any additions to LDFLAGS from the generated makefiles were ignored. I had thought that sub-make invocations would allow those variables to be overridden, but that is not the behaviour of make. So instead, set _LDFLAGS etc. in the generated files so that they don't conflict.
* build: Listen to make -sTavian Barnes2024-04-301-4/+4
|
* build: Replace `make config` with a `./configure` scriptTavian Barnes2024-04-291-0/+136
This lets us do more traditional out-of-tree builds like $ ../path/to/bfs/configure $ make The .mk files are moved from ./config to ./build, mostly so that ./configure will auto-complete easily.