Add musl 1.1.24.

This commit is contained in:
Andrius Štikonas 2021-02-01 01:09:24 +00:00
parent 9d5519ad79
commit 9ddc0bcee6
12 changed files with 304 additions and 1 deletions

View file

@ -0,0 +1,12 @@
Replace weak symbols with strong to workaround an issue with tcc -ar
This won't be necessary once we can rebuild with ar from binutils.
--- src/include/features.h 2021-02-02 23:15:42.791932948 +0000
+++ src/include/features.h 2021-02-02 23:17:21.394647015 +0000
@@ -6,6 +6,6 @@
#define weak __attribute__((__weak__))
#define hidden __attribute__((__visibility__("hidden")))
#define weak_alias(old, new) \
- extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
+ extern __typeof(old) new __attribute__((/*__weak__, */__alias__(#old)))
#endif