Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2024 04:29:34 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: dbb02466420b - stable/14 - wpa: Fix gcc build
Message-ID:  <202410010429.4914TYQT039257@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=dbb02466420b6c799277046cbc2f55ad3d8357e3

commit dbb02466420b6c799277046cbc2f55ad3d8357e3
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-07-24 15:04:33 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-10-01 04:28:54 +0000

    wpa: Fix gcc build
    
    Order of libraries still matters with GCC toolchains. Moving the
    wpapasn library before the wpacommon specification resolves the link
    problem.
    
    This issue was not detected by make universe.
    
    Fixes:          a90b9d015907
    
    (cherry picked from commit 8880825df1f805fc02dbb8476df8183d4ec3781c)
---
 usr.sbin/wpa/wpa_supplicant/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/wpa/wpa_supplicant/Makefile b/usr.sbin/wpa/wpa_supplicant/Makefile
index a107157fbf73..3cb1d1c18689 100644
--- a/usr.sbin/wpa/wpa_supplicant/Makefile
+++ b/usr.sbin/wpa/wpa_supplicant/Makefile
@@ -52,7 +52,7 @@ CFLAGS+=-DCONFIG_BACKEND_FILE
 LIBADD+=pcap util wpadrivers wpaeapol_supp \
 	wpaeap_server \
 	wpaeap_peer wpaeap_common wpal2_packet wparsn_supp wpatls wpawps \
-	wpacommon wpacrypto wpautils wpapasn
+	wpapasn wpacommon wpacrypto wpautils
 
 # User customizations to the wpa_supplicant build environment
 CFLAGS+=${WPA_SUPPLICANT_CFLAGS}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410010429.4914TYQT039257>