mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
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:
committed by
Petro Karashchenko
parent
3017c87b7b
commit
ee931c137f
@@ -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
|
||||
==============
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user