commit | 25b2db74e0b1750df93eccdd5616863f36adf53c | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Thu Apr 20 13:04:52 2023 -0700 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Tue Apr 25 06:18:26 2023 -0400 |
tree | 4ac173e1a897ddb79d24e3f92222800fd88b97e9 | |
parent | bc2075e31b1633a0d3c651593d4cbf633ed0406a [diff] |
libc/minimal: Add -fno-builtin option This ensures that the compiler won't end up recognizing patterns in code that map to known built-in functions, like noticing that the memcpy implementation looks a lot like a memory copy operation that could be replaced by a call to ... memcpy. When built with -ffreestanding, this has no effect as that option always enables -fno-builtin. Signed-off-by: Keith Packard <keithp@keithp.com>