diff --git a/10000-Compatible-with-peripheral-specified-compilers.patch b/10000-Compatible-with-peripheral-specified-compilers.patch new file mode 100644 index 0000000..db2085d --- /dev/null +++ b/10000-Compatible-with-peripheral-specified-compilers.patch @@ -0,0 +1,24 @@ +From 7d3a9a6ac0bfcf2d9053bf8290f3c3cef45694e3 Mon Sep 17 00:00:00 2001 +From: sjxur +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 + diff --git a/symlinks.spec b/symlinks.spec index e3f7f2d..44bfd40 100644 --- a/symlinks.spec +++ b/symlinks.spec @@ -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 - 1.4-24 +- fix Compatible with peripheral specified compilers + * Sat Sep 21 2019 openEuler Buildteam - 1.4-23 - Modify spec error information