Update examples/elf/tests/helloxx/Makefile

Check for the right config variable

Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Nimish Telang 2022-06-10 21:22:57 -04:00 committed by Xiang Xiao
parent 550cb3a1ea
commit 1f0ba0db6e

View File

@ -114,7 +114,7 @@ $(BIN3): $(OBJS3)
# NOTE: libstdc++ is not available for NuttX as of this writing
#
ifeq ($(CONFIG_EXAMPLES_ELF_CXX),y)
ifeq ($(CXX_EXCEPTION),y)
ifeq ($(CONFIG_CXX_EXCEPTION),y)
$(BIN4): $(OBJS4)
@echo "LD: $<"
$(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $@ $(ARCHCRT0OBJ) $^ $(LDLIBS)