Projects
openEuler:24.03
pciutils
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
_service:tar_scm:pciutils.spec
Changed
@@ -1,6 +1,6 @@ Name: pciutils Version: 3.10.0 -Release: 1 +Release: 2 Summary: PCI bus related utilities License: GPLv2+ URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml @@ -10,6 +10,7 @@ Patch0: 0000-pciutils-2.2.1-idpath.patch # patch1 is from fedora, rhbz#195327 Patch1: 0001-pciutils-dir-d.patch +Patch2: 0002-Support-specify-CC.patch ExclusiveOS: Linux BuildRequires: gcc sed kmod-devel pkgconfig zlib-devel @@ -105,6 +106,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Mar 21 2024 luofeng <luofeng13@huawei.com> - 3.10.0-2 +- Support specify CC + * Tue Feb 06 2024 Jiangtian Feng <fengjiangtian@huawei.com> 3.10.0-1 - upgrade to 3.10.0
View file
_service:tar_scm:0002-Support-specify-CC.patch
Added
@@ -0,0 +1,25 @@ +From 31159c692224d645275a7fa8ce772ef5748e6a54 Mon Sep 17 00:00:00 2001 +From: luofeng <luofeng13@huawei.com> +Date: Thu, 21 Mar 2024 10:41:53 +0800 +Subject: PATCH support specify CC + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 68dc923..d2e3dea 100644 +--- a/Makefile ++++ b/Makefile +@@ -50,7 +50,7 @@ STRIP=--strip-program $(CROSS_COMPILE)-strip + CC=$(CROSS_COMPILE)gcc + else + STRIP=-s +-CC=cc ++CC?=cc + endif + AR=$(CROSS_COMPILE)ar + RANLIB=$(CROSS_COMPILE)ranlib +-- +2.19.1 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2