mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
make: fix build against actual host glibc
This commit is contained in:
13
packages/devel/make/patches/make-glibc_alloc_fix.patch
Normal file
13
packages/devel/make/patches/make-glibc_alloc_fix.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/glob/glob.c b/glob/glob.c
|
||||
index f3911bc..8adbde3 100644
|
||||
--- a/glob/glob.c
|
||||
+++ b/glob/glob.c
|
||||
@@ -208,7 +208,7 @@ my_realloc (p, n)
|
||||
#endif /* __GNU_LIBRARY__ || __DJGPP__ */
|
||||
|
||||
|
||||
-#if !defined __alloca && !defined __GNU_LIBRARY__
|
||||
+#if !defined __alloca && defined __GNU_LIBRARY__
|
||||
|
||||
# ifdef __GNUC__
|
||||
# undef alloca
|
||||
Reference in New Issue
Block a user