Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys Provide _GNU_SOURCE for t_clone now that ...



details:   https://anonhg.NetBSD.org/src/rev/f0d9df74fa48
branches:  trunk
changeset: 368754:f0d9df74fa48
user:      kre <kre%NetBSD.org@localhost>
date:      Mon Aug 01 15:48:39 2022 +0000

description:
Provide _GNU_SOURCE for t_clone now that is required to make clone()
visible.

diffstat:

 tests/lib/libc/sys/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5d4d0ad69ae1 -r f0d9df74fa48 tests/lib/libc/sys/Makefile
--- a/tests/lib/libc/sys/Makefile       Mon Aug 01 15:16:05 2022 +0000
+++ b/tests/lib/libc/sys/Makefile       Mon Aug 01 15:48:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2022/04/06 10:02:55 gson Exp $
+# $NetBSD: Makefile,v 1.72 2022/08/01 15:48:39 kre Exp $
 
 MKMAN= no
 
@@ -120,6 +120,7 @@
 
 CPPFLAGS.t_timerfd.c           += -I${.CURDIR}/../gen
 
+CPPFLAGE.t_clone.c             += -D_NETBSD_SOURCE -D_GNU_SOURCE
 CPPFLAGS.t_lwp_create.c                += -D_KERNTYPES
 CPPFLAGS.t_ptrace_sigchld.c    += -D__TEST_FENV
 CPPFLAGS.t_ptrace_wait.c       += -D_KERNTYPES -D__TEST_FENV



Home | Main Index | Thread Index | Old Index