diff options
| author | manu <manu@NetBSD.org> | 2017-06-18 03:56:39 +0000 |
|---|---|---|
| committer | manu <manu@NetBSD.org> | 2017-06-18 03:56:39 +0000 |
| commit | 07c21eb889793f7cf3edeb5229974371b56399cb (patch) | |
| tree | 8934327039307834df0be6a8a7b6f3759f445010 /distrib/utils/libhack/Makefile | |
| parent | 9103e71a0254e60b566e0b892243267878d357ab (diff) | |
Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc
Diffstat (limited to 'distrib/utils/libhack/Makefile')
| -rw-r--r-- | distrib/utils/libhack/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/utils/libhack/Makefile b/distrib/utils/libhack/Makefile index 7b117f46e9a..b627086d297 100644 --- a/distrib/utils/libhack/Makefile +++ b/distrib/utils/libhack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2013/08/27 09:53:33 christos Exp $ +# $NetBSD: Makefile,v 1.25 2017/06/18 03:56:39 manu Exp $ # # Stubs to kill off some things from libc: # This save space on a boot system. @@ -10,6 +10,7 @@ HACKSRC?=${.CURDIR} HACKOBJ?=${.OBJDIR} CPPFLAGS+= -DSMALL +CPPFLAGS+= -DLIBHACK CPPFLAGS.runetable.c+= -I${HACKSRC}/../../../lib/libc/citrus \ -DALL_80_TO_FF_SW1 CPPFLAGS.syslog.c+= -I${HACKSRC}/../../../lib/libc/include |
