mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 05:07:48 +00:00
arch/x86_64:Fix build cxx warning.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
parent
274ca2ea65
commit
1816d752af
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ ifeq ($(CONFIG_FRAME_POINTER),y)
|
|||
ARCHOPTIMIZATION += -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
endif
|
||||
|
||||
ARCHCFLAGS += -fno-common -Wno-attributes
|
||||
ARCHCXXFLAGS += -fno-common -Wno-attributes -nostdinc++
|
||||
|
||||
ARCHCPUFLAGS = -fno-pic -mcmodel=large -fno-stack-protector -mno-red-zone -mrdrnd
|
||||
ARCHPICFLAGS = -fPIC
|
||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue