13 lines
562 B
Diff
13 lines
562 B
Diff
|
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
|