summaryrefslogtreecommitdiff
path: root/apps/examples/elf/tests/helloxx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/elf/tests/helloxx/Makefile')
-rw-r--r--apps/examples/elf/tests/helloxx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/elf/tests/helloxx/Makefile b/apps/examples/elf/tests/helloxx/Makefile
index f0b204ca5..8882e21a5 100644
--- a/apps/examples/elf/tests/helloxx/Makefile
+++ b/apps/examples/elf/tests/helloxx/Makefile
@@ -54,7 +54,7 @@ endif
LIBS =
ifeq ($(CONFIG_EXAMPLES_ELF_LIBC),y)
-ifeq ($(CONFIG_NUTTX_KERNEL),y)
+ifeq ($(CONFIG_BUILD_PROTECTED),y)
LIBS += -luc
else
LIBS += -lc