summaryrefslogtreecommitdiffstats
path: root/build/header.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: Save cc.sh build products to gen/Tavian Barnes2024-06-211-2/+4
|
* build: Generate config.mk after config.hTavian Barnes2024-06-211-1/+4
| | | | That way if ./configure fails, make will complain about it directly.
* configure: Bail out if CC doesn't work at allTavian Barnes2024-06-181-2/+10
|
* build: Rename CONFIG to CONFFLAGSTavian Barnes2024-06-181-1/+1
|
* build: Include CC in bfs --version outputTavian Barnes2024-06-131-0/+1
|
* Embed more configuration info in bfs --versionTavian Barnes2024-06-081-0/+5
|
* atomic: Fix RISC-V build with GCC < 14Tavian Barnes2024-06-061-0/+1
| | | | | | | | | | | | 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
* configure: Use --with/--without for librariesTavian Barnes2024-05-241-1/+1
|
* prelude: Remove max_align_t polyfillTavian Barnes2024-05-201-1/+0
| | | | | | This has been fixed in Cosmopolitan. Link: https://github.com/jart/cosmopolitan/issues/944
* dir: Add support for posix_getdents()Tavian Barnes2024-05-171-0/+1
| | | | | | | | 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
* stat: Support __st_birthtim on OpenBSDTavian Barnes2024-05-161-0/+1
|
* build: Sort generated headersTavian Barnes2024-05-081-4/+4
|
* build: Check for 1- and 2-argument getmntent() variantsTavian Barnes2024-05-071-0/+2
|
* build: Add a check for getmntinfo()Tavian Barnes2024-05-071-0/+1
|
* build: Add checks for strtofflags() and string_to_flags()Tavian Barnes2024-05-071-0/+2
|
* xtime: Use the libc's timegm() if presentTavian Barnes2024-05-061-0/+1
|
* build: Add some nice aliases to ./configureTavian Barnes2024-05-011-1/+1
|
* build: Listen to make -sTavian Barnes2024-04-301-12/+9
|
* build: Replace `make config` with a `./configure` scriptTavian Barnes2024-04-291-0/+69
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.