From 1f0ba0db6eea444620bdd379f3fbded571b365de Mon Sep 17 00:00:00 2001 From: Nimish Telang Date: Fri, 10 Jun 2022 21:22:57 -0400 Subject: [PATCH] Update examples/elf/tests/helloxx/Makefile Check for the right config variable Co-authored-by: Petro Karashchenko --- examples/elf/tests/helloxx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/elf/tests/helloxx/Makefile b/examples/elf/tests/helloxx/Makefile index 19ec33152..142282a00 100644 --- a/examples/elf/tests/helloxx/Makefile +++ b/examples/elf/tests/helloxx/Makefile @@ -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)