mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 02:17:58 +00:00 
			
		
		
		
	elfutils: fix build with GCC11
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		
							
								
								
									
										26
									
								
								patches/0099-elfutils-fix-build-with-GCC11.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								patches/0099-elfutils-fix-build-with-GCC11.patch
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | |||||||
|  | From b82a8514a3f52b91ec84f703ef92740dda19d5d9 Mon Sep 17 00:00:00 2001 | ||||||
|  | From: John Crispin <john@phrozen.org> | ||||||
|  | Date: Thu, 14 Aug 2025 10:29:29 +0200 | ||||||
|  | Subject: [PATCH] elfutils: fix build with GCC11 | ||||||
|  |  | ||||||
|  | Signed-off-by: John Crispin <john@phrozen.org> | ||||||
|  | --- | ||||||
|  |  package/libs/elfutils/Makefile | 2 +- | ||||||
|  |  1 file changed, 1 insertion(+), 1 deletion(-) | ||||||
|  |  | ||||||
|  | diff --git a/package/libs/elfutils/Makefile b/package/libs/elfutils/Makefile | ||||||
|  | index f7364c36be..76112c89ff 100644 | ||||||
|  | --- a/package/libs/elfutils/Makefile | ||||||
|  | +++ b/package/libs/elfutils/Makefile | ||||||
|  | @@ -87,7 +87,7 @@ TARGET_CFLAGS += \ | ||||||
|  |  	-Wno-unused-result \ | ||||||
|  |  	-Wno-format-nonliteral | ||||||
|  |   | ||||||
|  | -ifneq ($(CONFIG_GCC_USE_VERSION_11),y) | ||||||
|  | +ifneq ($(CONFIG_GCC_VERSION_11),y) | ||||||
|  |  TARGET_CFLAGS += \ | ||||||
|  |  	-Wno-error=use-after-free | ||||||
|  |  endif | ||||||
|  | --  | ||||||
|  | 2.34.1 | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin