diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-05-20 12:30:56 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2020-05-20 21:33:35 +0200 |
commit | a9d9c86da54064023633f4b71d57e68ec426d11d (patch) | |
tree | 2f722f6929f7346621a580c08fd826efb8c26e1c | |
parent | fe4887aa5ee6b3296978c659884bc109c23545e7 (diff) | |
download | palo-a9d9c86da54064023633f4b71d57e68ec426d11d.tar.gz |
ipl: Ensure no GCC builtins replace string functions
With GCC 10, the ipl is built with the compiler overriding local definitions of
some string functions, causing the ipl to trigger an HPMC.
Fix this by setting the -fno-builtin compiler flag.
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | ipl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipl/Makefile b/ipl/Makefile index 913ec66..c1d608b 100644 --- a/ipl/Makefile +++ b/ipl/Makefile @@ -39,7 +39,7 @@ endif VPATH=../lib:. AFLAGS = -I../lib -CFLAGS = -DIPL_LOADER -I. -I../lib -I../include -O2 -mdisable-fpregs -Wall -fno-delete-null-pointer-checks +CFLAGS = -DIPL_LOADER -I. -I../lib -I../include -O2 -mdisable-fpregs -Wall -fno-delete-null-pointer-checks -fno-builtin LDFLAGS = -N --section-start .init=0x60000 -e '$$START$$' all: iplelf |