shithub: riscv

Download patch

ref: b43c416083cfb67262630f61ae98383a7a13a45f
parent: 4745cae5bc669f0c4a5f8c71f629c4ab4fe828df
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Apr 22 03:19:58 EDT 2024

pc: fix link order, libc.a *after* libsec.a (for rand())

--- a/sys/src/9/pc/mkfile
+++ b/sys/src/9/pc/mkfile
@@ -68,9 +68,9 @@
 	/$objtype/lib/libmemdraw.a\
 	/$objtype/lib/libdraw.a\
 	/$objtype/lib/libip.a\
-	/$objtype/lib/libc.a\
 	/$objtype/lib/libsec.a\
 	/$objtype/lib/libmp.a\
+	/$objtype/lib/libc.a\
 	/$objtype/lib/libfis.a\
 	/$objtype/lib/libaml.a\
 	/$objtype/lib/libdtracy.a\