mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
1795bd2f1b
Add --disable-libdebuginfod with remove libcurl dependency. Remove totally unused host elfutils. Refreshed and rebased patches. Also happens to fix compilation with GCC11. Newer versions of elfutils seem to have some kind of dependency on obstack. Signed-off-by: Rosen Penev <rosenp@gmail.com>
27 lines
725 B
Diff
27 lines
725 B
Diff
From e399540ab67ffe83ca3c4cb768a2f0f2f32a9057 Mon Sep 17 00:00:00 2001
|
|
From: Rosen Penev <rosenp@gmail.com>
|
|
Date: Sun, 5 Apr 2020 15:56:59 -0700
|
|
Subject: [PATCH] libelf: remove usage of sys/cdefs
|
|
|
|
sys/cdefs is a deprecated glibc header that is unavailable with other
|
|
libc implementations such as musl.
|
|
|
|
features.h under glibc includes sys/cdefs whereas it does not under musl.
|
|
|
|
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|
---
|
|
lib/fixedsizehash.h | 1 -
|
|
libelf/elf.h | 10 ++++++----
|
|
2 files changed, 6 insertions(+), 5 deletions(-)
|
|
|
|
--- a/lib/fixedsizehash.h
|
|
+++ b/lib/fixedsizehash.h
|
|
@@ -30,7 +30,6 @@
|
|
#include <errno.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
-#include <sys/cdefs.h>
|
|
|
|
#include <system.h>
|
|
|