Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/amd64/ramdisks/ramdisk-zfsroot ramdisk-zfsroot: Buil...



details:   https://anonhg.NetBSD.org/src/rev/c8372177004c
branches:  trunk
changeset: 1007858:c8372177004c
user:      roy <roy%NetBSD.org@localhost>
date:      Mon Mar 02 16:04:49 2020 +0000

description:
ramdisk-zfsroot: Build with -D_REENTRANT

zpool(8) requires libhack built with it.

diffstat:

 distrib/amd64/ramdisks/ramdisk-zfsroot/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 44beaf1b6433 -r c8372177004c distrib/amd64/ramdisks/ramdisk-zfsroot/Makefile
--- a/distrib/amd64/ramdisks/ramdisk-zfsroot/Makefile   Mon Mar 02 16:01:56 2020 +0000
+++ b/distrib/amd64/ramdisks/ramdisk-zfsroot/Makefile   Mon Mar 02 16:04:49 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2020/02/22 09:53:47 roy Exp $
+#      $NetBSD: Makefile,v 1.2 2020/03/02 16:04:49 roy Exp $
 
 IMAGE=                 ramdisk-zfsroot.fs
 IMAGESIZE=             5000k
@@ -7,6 +7,9 @@
 CRUNCHENV=             INIT_CHROOT=1
 SMALLPROG_INET6=       1
 
+# Build as re-entrant because zpool requires libhack built this way.
+CPPFLAGS+=             -D_REENTRANT
+
 LISTS+=                        ${DISTRIBDIR}/common/list.zfsroot
 
 .include "${.CURDIR}/../common/Makefile.ramdisk"



Home | Main Index | Thread Index | Old Index