Commit Graph

6 Commits

Author SHA1 Message Date
Léo Lam
00568fbbab
build: allow specifying custom linker flags
This is useful for people who want to link using recent versions of
mold which are smart enough to e.g. optimise GOT loads; we need to
pass --no-relax to disable those optimisations in order to get matching
instructions.
2024-03-29 20:24:07 +00:00
Léo Lam
99e1bbf423
Add support for using custom linker (e.g. mold) 2021-12-30 16:55:33 +01:00
Léo Lam
b63c16c55f
ksys/util: Fix C++17 compliance in FixedString
Lambda expressions cannot appear in a template argument pre-C++20.
2021-11-01 14:57:38 +01:00
MonsterDruide1
18152c5909 tools: Migrate to external repo 2021-08-10 22:11:03 +02:00
Léo Lam
d37951ab72
build: Fix local toolchain path 2021-07-22 11:20:55 +02:00
Léo Lam
8cf3dd776b
build: Clean up build toolchain (and use musl for libc)
Using musl is required to match several functions that use <math.h>
floating point functions like isnan.

This also removes a dependency on devkitA64. We previously only needed
it because Clang insisted on using GCC to link the final executable
owing to the use of a "bare metal" target like aarch64-none-elf.
We can make Clang invoke the linker itself by using a Linux target.
2021-07-21 22:26:11 +02:00