From 22f9ec6abbb6f3402e69e0facfe5c10c95e70261 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Mon, 18 Mar 2019 01:11:24 +0000 Subject: [PATCH] Merged in masayuki2009/nuttx.nuttx/fix_build_error (pull request #842) configs/lc823450-xgevk: Remove -nostdinc to avoid build error Signed-off-by: Masayuki Ishikawa Approved-by: Gregory Nutt --- configs/lc823450-xgevk/scripts/Make.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/lc823450-xgevk/scripts/Make.defs b/configs/lc823450-xgevk/scripts/Make.defs index 66593e22f4..c3e9bc19dc 100644 --- a/configs/lc823450-xgevk/scripts/Make.defs +++ b/configs/lc823450-xgevk/scripts/Make.defs @@ -84,7 +84,7 @@ ifneq ($(CONFIG_DEBUG_NOOPT),y) ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer endif -ARCHCFLAGS = -fno-builtin -ffunction-sections -fdata-sections -nostdinc +ARCHCFLAGS = -fno-builtin -ffunction-sections -fdata-sections ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fcheck-new -fno-rtti -nostdinc++ ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef ARCHWARNINGSXX = -Wall -Wshadow -Wundef