diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-04-17 03:47:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-04-17 03:47:17 +0000 |
commit | 43db761fb49da8aa05d4062449dc298d387a9314 (patch) | |
tree | cc215c8262a321626ea4c46d35570b9e4891d923 | |
parent | 155ae49e5cefc7f22a0d316f90e098607c6b8f9e (diff) |
Pull sha2.c from libc into libstubs, but compile it with -DSHA256_ONLY
so that it is a lot smaller.
-rw-r--r-- | distrib/special/libstubs/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/distrib/special/libstubs/Makefile b/distrib/special/libstubs/Makefile index 11e051f8116..d515708103a 100644 --- a/distrib/special/libstubs/Makefile +++ b/distrib/special/libstubs/Makefile @@ -1,14 +1,16 @@ -# $OpenBSD: Makefile,v 1.1 2005/08/03 22:33:58 espie Exp $ +# $OpenBSD: Makefile,v 1.2 2009/04/17 03:47:16 deraadt Exp $ .include <bsd.own.mk> LIB= stubs -SRCS= setlocale.c db.c +SRCS= setlocale.c db.c sha2.c NOPIC= Yes NOPROFILE=Yes NOMAN=1 -CFLAGS+=-Os -D__DBINTERFACE_PRIVATE +CFLAGS+=-Os -D__DBINTERFACE_PRIVATE -DSHA256_ONLY LIBCSRCDIR=${.CURDIR}/../../../lib/libc +.PATH: ${.CURDIR}/../../../lib/libc/hash + .include <bsd.lib.mk> |