vconfig/0001-vconfig-fix-cc.patch

33 lines
1.2 KiB
Diff

From 9596594bf3d7d12785e6e0233e20b8d697557c00 Mon Sep 17 00:00:00 2001
From: zhangchao13 <chaozhangm@isoftstone.com>
Date: Fri, 21 Apr 2023 14:44:49 +0800
Subject: [PATCH] vconfig-fix-cc
---
MakeInclude | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/MakeInclude b/MakeInclude
index f518572..0d83ea3 100644
--- a/MakeInclude
+++ b/MakeInclude
@@ -25,11 +25,11 @@ ARM_TC_LIB = ${HOME}/Intrinsyc/lib
ifeq "${PLATFORM}" "ARM"
#echo "Building for ARM platform."
STRIP=${ARM_TC_BIN}/arm-linux-strip
- CC = ${ARM_TC_BIN}/arm-linux-gcc # this is generally the c compiler, unused AFAIK
- CCC = ${ARM_TC_BIN}/arm-linux-g++ # this is generally the c++ compiler
+ CC ?= ${ARM_TC_BIN}/arm-linux-gcc # this is generally the c compiler, unused AFAIK
+ CCC ?= ${ARM_TC_BIN}/arm-linux-g++ # this is generally the c++ compiler
else
#echo "Building for x86 platform."
STRIP=strip
- CC = gcc # this is generally the c compiler, unused AFAIK
- CCC = g++ # this is generally the c++ compiler
+ CC ?= gcc # this is generally the c compiler, unused AFAIK
+ CCC ?= g++ # this is generally the c++ compiler
endif
--
2.33.0