git: 9front

Download patch

ref: ca796cf5afa68acef4f73b7572c6f167dee6227d
parent: 1cdfa5438300c3e235523419bc4e2c6bbb9944a8
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
-
--