From f74f45d4489f2486630e68e9b9f7b71dbe7b6693 Mon Sep 17 00:00:00 2001 From: jammyjellyfish Date: Mon, 17 Apr 2023 18:22:59 +0800 Subject: [PATCH] Support specify CC --- support-specify-cc.patch | 12 ++++++++++++ wpa_supplicant.spec | 6 +++++- 2 files changed, 17 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..1c13fe6 --- /dev/null +++ b/support-specify-cc.patch @@ -0,0 +1,12 @@ +diff -up wpa_supplicant-2.10/wpa_supplicant/Makefile.orig2 wpa_supplicant-2.10/wpa_supplicant/Makefile +--- wpa_supplicant-2.10/wpa_supplicant/Makefile.orig2 2023-04-17 18:16:31.762463758 +0800 ++++ wpa_supplicant-2.10/wpa_supplicant/Makefile 2023-04-17 18:19:27.419285936 +0800 +@@ -2051,7 +2051,7 @@ wpa_gui-qt4/lang/wpa_gui_de.qm: wpa_gui- + $(LRELEASE) wpa_gui-qt4/wpa_gui.pro + + wpa_gui-qt4: wpa_gui-qt4/Makefile wpa_gui-qt4/lang/wpa_gui_de.qm +- $(MAKE) -C wpa_gui-qt4 ++ $(MAKE) -C wpa_gui-qt4 CC=$$CC CXX=$$CXX + + FIPSDIR=/usr/local/ssl/fips-2.0 + FIPSLD=$(FIPSDIR)/bin/fipsld diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec index d6cd21f..68692ed 100644 --- a/wpa_supplicant.spec +++ b/wpa_supplicant.spec @@ -1,7 +1,7 @@ Name: wpa_supplicant Epoch: 1 Version: 2.10 -Release: 1 +Release: 2 Summary: A WPA Supplicant with support for WPA and WPA2 (IEEE 802.11i / RSN) License: BSD or GPLv2 Url: https://w1.fi/wpa_supplicant/ @@ -12,6 +12,7 @@ Source3: %{name}.service Source5: %{name}.logrotate Patch6000: wpa_supplicant-gui-qt4.patch +Patch6001: support-specify-cc.patch BuildRequires: qt-devel >= 4.0 openssl-devel readline-devel dbus-devel libnl3-devel systemd-units docbook-utils Requires(post): systemd-sysv @@ -103,6 +104,9 @@ install -m644 %{name}/doc/docbook/*.5 %{buildroot}%{_mandir}/man5 %{_mandir}/man5/* %changelog +* Mon Apr 17 2023 jammyjellyfish - 1:2.10-2 +- Support specify CC + * Thu Mar 31 2022 yuanxin - 1:2.10-1 - update version to 2.10 -- Gitee