boards: Remove -fno-builtin

it's more efficent to generate the machine code directly if possible

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-02-13 06:14:22 +08:00
committed by Petro Karashchenko
parent 3017c87b7b
commit ee931c137f
253 changed files with 504 additions and 504 deletions
+2 -2
View File
@@ -148,8 +148,8 @@ Q: I get the following error message, "undefined reference to '__stack_chk_fail'
A: Add -fno-stack-protector to ARCHCPUFLAGS in you Make.defs file. Switch the
commenting on the following two lines in the Make.defs file:
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin
#ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin -fno-stack-protector
ARCHCPUFLAGS = -march=i486 -mtune=i486
#ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-stack-protector
Configurations
==============
+1 -1
View File
@@ -31,7 +31,7 @@ endif
ARCHSCRIPT += $(BOARD_DIR)$(DELIM)scripts$(DELIM)qemu.ld
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin -fno-stack-protector
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-stack-protector
ARCHPICFLAGS = -fpic
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef