diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2009-10-28 07:34:37 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2009-10-28 07:34:37 +0000 |
commit | cb4906f55fa7a49aa28397caa1074aa262893119 (patch) | |
tree | a4d86ba78e73753a093cf59da2a4045ef623ea17 /distrib/special | |
parent | 7aecdfad7070aa77d2008ddfb94c4a63a6278935 (diff) |
Strip the YP code from the binaries on the ramdisk by building with -UYP
the six files from libc that are directly pulled in.
ok deraadt@
Diffstat (limited to 'distrib/special')
-rw-r--r-- | distrib/special/libstubs/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/distrib/special/libstubs/Makefile b/distrib/special/libstubs/Makefile index d515708103a..2654de0a9a1 100644 --- a/distrib/special/libstubs/Makefile +++ b/distrib/special/libstubs/Makefile @@ -1,16 +1,19 @@ -# $OpenBSD: Makefile,v 1.2 2009/04/17 03:47:16 deraadt Exp $ +# $OpenBSD: Makefile,v 1.3 2009/10/28 07:34:36 guenther Exp $ .include <bsd.own.mk> LIB= stubs -SRCS= setlocale.c db.c sha2.c +SRCS= db.c setlocale.c sha2.c getgrent.c getpwent.c \ + ethers.c getaddrinfo.c gethostnamadr.c getnetnamadr.c NOPIC= Yes NOPROFILE=Yes NOMAN=1 -CFLAGS+=-Os -D__DBINTERFACE_PRIVATE -DSHA256_ONLY +CFLAGS+=-Os -D__DBINTERFACE_PRIVATE -DSHA256_ONLY -UYP -I${LIBCSRCDIR}/include LIBCSRCDIR=${.CURDIR}/../../../lib/libc .PATH: ${.CURDIR}/../../../lib/libc/hash +.PATH: ${.CURDIR}/../../../lib/libc/gen +.PATH: ${.CURDIR}/../../../lib/libc/net .include <bsd.lib.mk> |