summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-09-22 22:06:16 +0000
committermiod <miod@openbsd.org>2004-09-22 22:06:16 +0000
commit9c2b1e7c54fe42aa4ea55ffec104d8a078f0eef2 (patch)
tree468d9055a065728937be299a4aea9d5a63ce0d91
parentAdd code to let 32bit code *printf() {u,}int64_t values. (diff)
downloadwireguard-openbsd-9c2b1e7c54fe42aa4ea55ffec104d8a078f0eef2.tar.xz
wireguard-openbsd-9c2b1e7c54fe42aa4ea55ffec104d8a078f0eef2.zip
Bring in libsa code for proper %llx printf display; necessary for /boot.
ok deraadt@
-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 \