From fc6d5d14e0f18c3e9780a3e3f2233de426f5730a Mon Sep 17 00:00:00 2001 From: Flinner Date: Tue, 21 Nov 2023 07:35:05 +0300 Subject: [PATCH] rename variable `CCFLAGS` to `CFLAGS` `CCFLAGS` doesn't exist in my Make version as far as I'm aware. --- scripts/cxxdemo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cxxdemo/Makefile b/scripts/cxxdemo/Makefile index 2d95019b..7100b16e 100644 --- a/scripts/cxxdemo/Makefile +++ b/scripts/cxxdemo/Makefile @@ -3,7 +3,7 @@ CXX = $(RISCV_TOOLS_PREFIX)g++ CC = $(RISCV_TOOLS_PREFIX)gcc AS = $(RISCV_TOOLS_PREFIX)gcc CXXFLAGS = -MD -Os -Wall -std=c++11 -CCFLAGS = -MD -Os -Wall -std=c++11 +CFLAGS = -MD -Os -Wall -std=c++11 LDFLAGS = -Wl,--gc-sections LDLIBS = -lstdc++