You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/05/22 15:12:34 UTC

[incubator-nuttx-apps] 02/02: import/Make.defs: Add -noincstd++

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 1d216fde998388102101775dc244b5cb211cdec1
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri May 20 12:40:51 2022 +0800

    import/Make.defs: Add -noincstd++
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 import/Make.defs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/import/Make.defs b/import/Make.defs
index e5b0ed16f..ae055a93b 100644
--- a/import/Make.defs
+++ b/import/Make.defs
@@ -33,7 +33,7 @@ ARCHXXINCLUDES += ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include}
 ARCHXXINCLUDES += ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include$(DELIM)cxx}
 
 ARCHCFLAGS += -fno-common -pipe
-ARCHCXXFLAGS += -fno-common -pipe
+ARCHCXXFLAGS += -fno-common -nostdinc++ -pipe
 
 CFLAGS = $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
 CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS)