Module Name: src
Committed By: roy
Date: Mon Mar 2 16:01:52 UTC 2020
Modified Files:
src/distrib/utils/libhack: Makefile.inc
Log Message:
libhack: revert prior, will be done per consumer instead.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/distrib/utils/libhack/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/libhack/Makefile.inc
diff -u src/distrib/utils/libhack/Makefile.inc:1.33 src/distrib/utils/libhack/Makefile.inc:1.34
--- src/distrib/utils/libhack/Makefile.inc:1.33 Sun Mar 1 22:47:26 2020
+++ src/distrib/utils/libhack/Makefile.inc Mon Mar 2 16:01:52 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.33 2020/03/01 22:47:26 roy Exp $
+# $NetBSD: Makefile.inc,v 1.34 2020/03/02 16:01:52 roy Exp $
#
# Include this fragment to build libhack.o
# It is .o and not .a to make sure these are the
@@ -21,12 +21,6 @@
CPPFLAGS+= -DSMALL
CPPFLAGS+= -DLIBHACK
-# Build as re-entrant.
-# A few tool using libhack, such as zpool on the ramdisk-zfsroot,
-# expect this and it's simpler just to set it globally rather than
-# debugging why stuff randomly crashes.
-CPPFLAGS+= -D_REENTRANT
-
HACKOBJS+= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o jemalloc.o \
localeconv.o multibyte.o perror.o runetable.o setlocale.o \
nl_langinfo.o strcasecmp.o \