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
6b412c873b
commit
5e817e25e8
|
@ -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…
Reference in New Issue