Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: Save cc.sh build products to gen/ | Tavian Barnes | 2024-06-21 | 4 | -13/+8 |
| | |||||
* | build: Generate config.mk after config.h | Tavian Barnes | 2024-06-21 | 2 | -5/+8 |
| | | | | That way if ./configure fails, make will complain about it directly. | ||||
* | configure: Bail out if CC doesn't work at all | Tavian Barnes | 2024-06-18 | 1 | -2/+10 |
| | |||||
* | build: Rename CONFIG to CONFFLAGS | Tavian Barnes | 2024-06-18 | 1 | -1/+1 |
| | |||||
* | build: Include CC in bfs --version output | Tavian Barnes | 2024-06-13 | 1 | -0/+1 |
| | |||||
* | build: Use exec "$@" rather than just "$@" | Tavian Barnes | 2024-06-11 | 1 | -1/+1 |
| | | | | This avoids extra error reporting from set -e. | ||||
* | 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 |
| | |||||
* | Embed more configuration info in bfs --version | Tavian Barnes | 2024-06-08 | 3 | -1/+18 |
| | |||||
* | atomic: Fix RISC-V build with GCC < 14 | Tavian Barnes | 2024-06-06 | 2 | -0/+8 |
| | | | | | | | | | | | | Prior to GCC 14.1, the __builtin_riscv_pause() can cause an error if the appropriate extension is not enabled in -march: /tmp/ccR1L1lA.s: Assembler messages: /tmp/ccR1L1lA.s:670: Error: unrecognized opcode `pause', extension `zihintpause' required Link: https://gcc.gnu.org/pipermail/gcc-patches/2023-August/626748.html Link: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=c2d04dd659c499d8df19f68d0602ad4c7d7065c2 Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=riscv64&ver=3.3.1-1&stamp=1717488400&raw=0 | ||||
* | list: New SLIST_SPLICE() macro | Tavian Barnes | 2024-05-31 | 1 | -0/+1 |
| | |||||
* | configure: Color the checkmarks | Tavian Barnes | 2024-05-24 | 1 | -2/+12 |
| | |||||
* | build/deps: Fix _CPPFLAGS variable name | Tavian Barnes | 2024-05-24 | 1 | -1/+1 |
| | |||||
* | configure: Use --with/--without for libraries | Tavian Barnes | 2024-05-24 | 9 | -19/+15 |
| | |||||
* | 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 | 3 | -29/+29 |
| | | | | | | | | 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. | ||||
* | prelude: Remove max_align_t polyfill | Tavian Barnes | 2024-05-20 | 2 | -9/+0 |
| | | | | | | This has been fixed in Cosmopolitan. Link: https://github.com/jart/cosmopolitan/issues/944 | ||||
* | build: Remove unused configure test | Tavian Barnes | 2024-05-19 | 1 | -13/+0 |
| | |||||
* | dir: Add support for posix_getdents() | Tavian Barnes | 2024-05-17 | 3 | -0/+23 |
| | | | | | | | | This will be added to the next POSIX standard, and is already implemented in musl. Link: https://www.austingroupbugs.net/view.php?id=697 Link: https://git.musl-libc.org/cgit/musl/commit/?id=1b0d48517f816e98f19111df82f32bfc1608ecec | ||||
* | build: Add missing SPDX headers | Tavian Barnes | 2024-05-17 | 3 | -0/+9 |
| | |||||
* | stat: Support __st_birthtim on OpenBSD | Tavian Barnes | 2024-05-16 | 2 | -0/+10 |
| | |||||
* | sighook: New utilities for hooking signals | Tavian Barnes | 2024-05-16 | 1 | -0/+2 |
| | | | | This allows multiple hooks to be installed for a single signal. | ||||
* | build: Sort generated headers | Tavian Barnes | 2024-05-08 | 1 | -4/+4 |
| | |||||
* | build/has/getdents: Squelch warnings | Tavian Barnes | 2024-05-07 | 3 | -9/+6 |
| | |||||
* | build: Check for 1- and 2-argument getmntent() variants | Tavian Barnes | 2024-05-07 | 3 | -0/+21 |
| | |||||
* | build: Add a check for getmntinfo() | Tavian Barnes | 2024-05-07 | 2 | -0/+11 |
| | |||||
* | build: Add checks for strtofflags() and string_to_flags() | Tavian Barnes | 2024-05-07 | 3 | -0/+20 |
| | |||||
* | xtime: Use the libc's timegm() if present | Tavian Barnes | 2024-05-06 | 2 | -0/+10 |
| | |||||
* | build: Don't look for -s inside VAR=val in $MAKEFLAGS | Tavian Barnes | 2024-05-03 | 1 | -0/+2 |
| | |||||
* | build: Add some nice aliases to ./configure | Tavian Barnes | 2024-05-01 | 1 | -1/+1 |
| | |||||
* | build: Listen to make -s | Tavian Barnes | 2024-04-30 | 8 | -48/+112 |
| | |||||
* | build: Replace `make config` with a `./configure` script | Tavian Barnes | 2024-04-29 | 49 | -0/+988 |
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. |