summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-09-22 22:06:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-09-22 22:06:19 +0000
commitea075872881abbf59bd05df6aa7635696fe3e426 (patch)
treee26e378b3823314060ac8db0dccdecca5ceaca28 /sys/arch
parentef43acf1a7be490ff52be1142a65b3f77a30e60a (diff)
Bring in libsa code for proper %llx printf display; necessary for /boot.
ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sgi/stand/libkern/Makefile4
-rw-r--r--sys/arch/sgi/stand/libsa/Makefile3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sgi/stand/libkern/Makefile b/sys/arch/sgi/stand/libkern/Makefile
index a3f2eb01c13..c661e6bf23c 100644
--- a/sys/arch/sgi/stand/libkern/Makefile
+++ b/sys/arch/sgi/stand/libkern/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2004/09/16 18:54:48 pefo Exp $
+# $OpenBSD: Makefile,v 1.3 2004/09/22 22:06:16 miod Exp $
LIB= kern
@@ -20,7 +20,7 @@ AFLAGS= -x assembler-with-cpp -traditional-cpp -I${.CURDIR}/../include \
# kern routines
SRCS= __main.c ashrdi3.c bzero.S divdi3.c qdivrem.c strlen.S \
- strcmp.c strlcat.c strlcpy.c strncmp.c umoddi3.c
+ strcmp.c strlcat.c strlcpy.c strncmp.c umoddi3.c udivdi3.c
${OBJS}: ${.CURDIR}/../Makefile.inc
diff --git a/sys/arch/sgi/stand/libsa/Makefile b/sys/arch/sgi/stand/libsa/Makefile
index 1a689a854ba..d182a97295e 100644
--- a/sys/arch/sgi/stand/libsa/Makefile
+++ b/sys/arch/sgi/stand/libsa/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2004/09/16 18:54:49 pefo Exp $
+# $OpenBSD: Makefile,v 1.3 2004/09/22 22:06:18 miod Exp $
LIB= sa
@@ -13,6 +13,7 @@ CFLAGS= ${CEXTRAFLAGS} -O2 ${SAABI} -nostdinc -mno-abicalls -D_NO_ABICALLS \
-I${.OBJDIR}
CPPFLAGS+= -D__INTERNAL_LIBSA_CREAD ${STANDALONE}
+CPPFLAGS+= -DLIBSA_LONGLONG_PRINTF
# stand routines
SRCS= alloc.c exit.c exec.c getfile.c gets.c globals.c \