Skip to content
Commit 25b2db74 authored by Keith Packard's avatar Keith Packard Committed by Christopher Friedt
Browse files

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: default avatarKeith Packard <keithp@keithp.com>
parent bc2075e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment