$NetBSD: patch-ad,v 1.1 2004/01/16 00:59:18 kristerw Exp $

--- src/runtime/Kernel/Makefile.orig	2003-02-05 15:39:18.000000000 +0000
+++ src/runtime/Kernel/Makefile	2003-12-16 16:31:29.000000000 +0000
@@ -38,8 +38,9 @@
 ${AOBJS} ${OOBJS}: ${OBJDIR}/%.o: %.c
 	${CC} -c ${CFLAGS} -o $@ $<
 ${SOBJS}: ${OBJDIR}/%.o: %.c
-	${CC} -S ${CFLAGS} -o - $< | sed '/.align 32/s/32/4/' |\
-		 ${CC} -c -x assembler ${CFLAGS} -o $@ -
+	${CC} -S ${CFLAGS} -o - $< |\
+		sed -e '/.align 32/s/32/4/' -e '/.p2align 5/s/5/2/' |\
+		${CC} -c -x assembler-with-cpp ${CFLAGS} -o $@ -
 
 LINKS = bytecode.h cinterface.h mutlib.h newmacros.h \
 	node.h runtime.h stableptr.h newbytecode.h bytecode_o.h
