shithub: riscv

Download patch

ref: 70a9df6c59a5e9d6e54a9858235b16b753b860bd
parent: c69d458eccd4f93752e6d8daf06d0f00831d1a83
author: Jacob Moody <moody@posixcafe.org>
date: Sat Nov 11 11:58:43 EST 2023

ape: libap: do not set objtype in amd64 mkfile

None of the other arch specific mkfiles do
this and it causes a mk nuke run with any other
objtype to always nuke amd64.

--- a/sys/src/ape/lib/ap/amd64/mkfile
+++ b/sys/src/ape/lib/ap/amd64/mkfile
@@ -1,5 +1,4 @@
 APE=/sys/src/ape
-objtype=amd64
 <$APE/config
 LIB=/$objtype/lib/ape/libap.a
 OFILES=\
@@ -17,4 +16,3 @@
 </sys/src/cmd/mksyslib
 
 CFLAGS=$CFLAGS -c -D_POSIX_SOURCE -D_PLAN9_SOURCE
-