Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: Add -Wundef-prefix=BFS_ | Tavian Barnes | 2024-10-01 | 1 | -0/+1 |
| | |||||
* | build/flags: Use auto-detection for all warning flags | Tavian Barnes | 2024-09-05 | 1 | -12/+10 |
| | |||||
* | build: Move feature test macros to prelude.h | Tavian Barnes | 2024-08-28 | 1 | -13/+1 |
| | | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented. | ||||
* | build: Move tsan/target_clones conflict to the prelude | Tavian Barnes | 2024-08-28 | 1 | -4/+0 |
| | |||||
* | build: Move the "compiler works at all" test earlier | Tavian Barnes | 2024-08-28 | 1 | -1/+9 |
| | |||||
* | build: Include the auto-flag build logs in config.log | Tavian Barnes | 2024-08-28 | 1 | -0/+1 |
| | |||||
* | xspawn: Use _Fork() if available | Tavian Barnes | 2024-07-27 | 1 | -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 supported | Tavian Barnes | 2024-07-27 | 1 | -1/+2 |
| | |||||
* | build/flags: Infrastructure to detect compiler flag support | Tavian Barnes | 2024-07-27 | 1 | -1/+19 |
| | | | | Use it to detect -MD -MP support. | ||||
* | Revert "build: Add -Wmissing-variable-declarations" | Tavian Barnes | 2024-06-08 | 1 | -1/+0 |
| | | | | | | Turns out that flag was only added in GCC 14. This reverts commit 7cddd64b3131812b82feffe2deb311bf6ab9a262. | ||||
* | build: Add -Wmissing-variable-declarations | Tavian Barnes | 2024-06-08 | 1 | -0/+1 |
| | |||||
* | build: Simplify flags.mk | Tavian Barnes | 2024-05-21 | 1 | -64/+43 |
| | |||||
* | build: Fix ubsan CFLAGS typo | Tavian Barnes | 2024-05-21 | 1 | -1/+1 |
| | |||||
* | build: Allow flags.mk to override command line variables | Tavian Barnes | 2024-05-21 | 1 | -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 -s | Tavian Barnes | 2024-04-30 | 1 | -4/+4 |
| | |||||
* | build: Replace `make config` with a `./configure` script | Tavian Barnes | 2024-04-29 | 1 | -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. |