Compatible with peripheral specified compilers

This commit is contained in:
sjxur 2023-04-23 15:19:44 +08:00
parent 6a65b8a2f4
commit 0629d0c536
2 changed files with 29 additions and 1 deletions

View 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

View File

@ -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