Module Name:    src
Committed By:   kre
Date:           Mon Aug  1 15:48:40 UTC 2022

Modified Files:
        src/tests/lib/libc/sys: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/tests/lib/libc/sys/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/sys/Makefile
diff -u src/tests/lib/libc/sys/Makefile:1.71 src/tests/lib/libc/sys/Makefile:1.72
--- src/tests/lib/libc/sys/Makefile:1.71	Wed Apr  6 10:02:55 2022
+++ src/tests/lib/libc/sys/Makefile	Mon Aug  1 15:48:39 2022
@@ -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_futex_robust.c	+= -I${.CURDIR
 
 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

Reply via email to