git: 8880825df1f8 - main - wpa: Fix gcc build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Jul 2024 17:00:41 UTC
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=8880825df1f805fc02dbb8476df8183d4ec3781c commit 8880825df1f805fc02dbb8476df8183d4ec3781c Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2024-07-24 15:04:33 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2024-07-24 15:04:33 +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 MFC after: 2 months X-MFC with: a90b9d015907 --- 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 ba7f1fb873ab..ab69009e5e43 100644 --- a/usr.sbin/wpa/wpa_supplicant/Makefile +++ b/usr.sbin/wpa/wpa_supplicant/Makefile @@ -51,7 +51,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}