summaryrefslogtreecommitdiff
path: root/lib/efi
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2017-12-02 00:09:50 +0300
committerAlexander Graf <agraf@suse.de>2017-12-02 00:31:00 +0300
commit3bb74f9800cdc4cf10a87f2725242c2565256654 (patch)
tree7c7987f371a3090a0b6070189b197423f3b82569 /lib/efi
parentc034b7fd419010116f2b6ac3b8e3b725f425d92c (diff)
downloadu-boot-3bb74f9800cdc4cf10a87f2725242c2565256654.tar.xz
efi_loader helloworld.efi: Fix building with -Os
Depending on your compiler, when compiling the hello world efi binary with -Os, gcc might think it's a smart idea to replace common patterns such as memory copies with explicit calls to memcpy(). While that sounds great at first, we don't have any memcpy() available in our helloworld build target. So let's indicate to gcc that we really do want to have the code be built as freestanding. Fixes: bbf75dd9 ("efi_loader: output load options in helloworld") Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi')
0 files changed, 0 insertions, 0 deletions