mirror of
https://github.com/apache/nuttx.git
synced 2026-09-03 15:43:01 +00:00
libs:cxx.defs: bypass -Wno-missing-exception-spec flag in xcc
Xtensa-toolchain do not recognize -Wno-missing-exception-spec flags
This commit is contained in:
parent
8f976669a3
commit
32ea691d5f
1 changed files with 4 additions and 2 deletions
|
|
@ -31,5 +31,7 @@ CXXSRCS += libxx_stdthrow.cxx
|
|||
# FAR void *operator new(std::size_t nbytes)
|
||||
# ^
|
||||
# throw(std::bad_alloc)
|
||||
libxx_new.cxx_CXXFLAGS += -Wno-missing-exception-spec
|
||||
libxx_newa.cxx_CXXFLAGS += -Wno-missing-exception-spec
|
||||
ifneq ($(CONFIG_XTENSA_TOOLCHAIN_XCC), y)
|
||||
libxx_new.cxx_CXXFLAGS += -Wno-missing-exception-spec
|
||||
libxx_newa.cxx_CXXFLAGS += -Wno-missing-exception-spec
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue