From 1d216fde998388102101775dc244b5cb211cdec1 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 20 May 2022 12:40:51 +0800 Subject: [PATCH] import/Make.defs: Add -noincstd++ Signed-off-by: Xiang Xiao --- 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)