!5 修复 源代码内指定 gcc 编译器导致编译错误
From: @backjace Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
3e1bcee147
24
10000-Compatible-with-peripheral-specified-compilers.patch
Normal file
24
10000-Compatible-with-peripheral-specified-compilers.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 7d3a9a6ac0bfcf2d9053bf8290f3c3cef45694e3 Mon Sep 17 00:00:00 2001
|
||||
From: sjxur <sjxur@isoftstone.com>
|
||||
Date: Sun, 23 Apr 2023 15:07:09 +0800
|
||||
Subject: [PATCH] Compatible with peripheral specified compilers
|
||||
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index f305449..9d366ba 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
# Makefile for symlinks
|
||||
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
|
||||
all: symlinks
|
||||
|
||||
--
|
||||
2.39.1
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: symlinks
|
||||
Version: 1.4
|
||||
Release: 23
|
||||
Release: 24
|
||||
Summary: Scan or change symbolic links
|
||||
License: Copyright only
|
||||
URL: http://ibiblio.org/pub/Linux/utils/file/
|
||||
@ -11,6 +11,7 @@ BuildRequires: gcc
|
||||
|
||||
Patch1: symlinks-coverity-readlink.patch
|
||||
Patch2: symlinks-coverity-overrun-dynamic.patch
|
||||
Patch3: 10000-Compatible-with-peripheral-specified-compilers.patch
|
||||
|
||||
%description
|
||||
Scans directories for symbolic links, and identifies dangling,
|
||||
@ -48,6 +49,9 @@ install -m 644 symlinks.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Apr 23 2023 sjxur <sjxur@isoftstone.com> - 1.4-24
|
||||
- fix Compatible with peripheral specified compilers
|
||||
|
||||
* Sat Sep 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.4-23
|
||||
- Modify spec error information
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user