summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* build: Fix ubsan CFLAGS typoTavian Barnes2024-05-211-1/+1
|
* build: Allow flags.mk to override command line variablesTavian Barnes2024-05-213-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 polyfillTavian Barnes2024-05-202-9/+0
| | | | | | This has been fixed in Cosmopolitan. Link: https://github.com/jart/cosmopolitan/issues/944
* build: Remove unused configure testTavian Barnes2024-05-191-13/+0
|
* dir: Add support for posix_getdents()Tavian Barnes2024-05-173-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 headersTavian Barnes2024-05-173-0/+9
|
* stat: Support __st_birthtim on OpenBSDTavian Barnes2024-05-162-0/+10
|
* sighook: New utilities for hooking signalsTavian Barnes2024-05-161-0/+2
| | | | This allows multiple hooks to be installed for a single signal.
* build: Sort generated headersTavian Barnes2024-05-081-4/+4
|
* build/has/getdents: Squelch warningsTavian Barnes2024-05-073-9/+6
|
* build: Check for 1- and 2-argument getmntent() variantsTavian Barnes2024-05-073-0/+21
|
* build: Add a check for getmntinfo()Tavian Barnes2024-05-072-0/+11
|
* build: Add checks for strtofflags() and string_to_flags()Tavian Barnes2024-05-073-0/+20
|
* xtime: Use the libc's timegm() if presentTavian Barnes2024-05-062-0/+10
|
* build: Don't look for -s inside VAR=val in $MAKEFLAGSTavian Barnes2024-05-031-0/+2
|
* build: Add some nice aliases to ./configureTavian Barnes2024-05-011-1/+1
|
* build: Listen to make -sTavian Barnes2024-04-308-48/+112
|
* build: Replace `make config` with a `./configure` scriptTavian Barnes2024-04-2949-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.