From e4618d74e1b5afa59c5811101338a0858f3f6429 Mon Sep 17 00:00:00 2001 From: SaltyFruit Date: Tue, 11 Apr 2023 15:30:43 +0800 Subject: [PATCH] Add patch to support specifying CC --- support-specify-cc.patch | 10 ++++++++++ vsftpd.spec | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 support-specify-cc.patch diff --git a/support-specify-cc.patch b/support-specify-cc.patch new file mode 100644 index 0000000..d9eb2d2 --- /dev/null +++ b/support-specify-cc.patch @@ -0,0 +1,10 @@ +diff -up vsftpd-3.0.5/Makefile.orig vsftpd-3.0.5/Makefile +--- vsftpd-3.0.5/Makefile.orig 2023-04-11 15:19:45.754221605 +0800 ++++ vsftpd-3.0.5/Makefile 2023-04-11 15:19:50.802256625 +0800 +@@ -1,5 +1,5 @@ + # Makefile for systems with GNU tools +-CC = gcc ++CC ?= gcc + INSTALL = install + IFLAGS = -idirafter dummyinc + #CFLAGS = -g diff --git a/vsftpd.spec b/vsftpd.spec index b1a9c7c..aea3cc4 100644 --- a/vsftpd.spec +++ b/vsftpd.spec @@ -2,7 +2,7 @@ Name: vsftpd Version: 3.0.5 -Release: 1 +Release: 2 Summary: It is a secure FTP server for Unix-like systems # OpenSSL link exception License: GPLv2 with exceptions @@ -153,6 +153,9 @@ cp -f %{SOURCE1} ./ %{_mandir}/man8/vsftpd.* %changelog +* Tue Apr 11 2023 SaltyFruit - 3.0.5-2 +- Support specify cc + * Thu Nov 17 2022 zhouyihang - 3.0.5-1 - Type:requirement - ID:NA -- Gitee