Source-Changes-HG archive

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

[src/trunk]: src/lib/librumphijack compile hijack.c with -D_INCOMPLETE_XOPEN_...



details:   https://anonhg.NetBSD.org/src/rev/5454242db487
branches:  trunk
changeset: 448995:5454242db487
user:      bad <bad%NetBSD.org@localhost>
date:      Sun Feb 17 23:33:20 2019 +0000

description:
compile hijack.c with -D_INCOMPLETE_XOPEN_C063 so that AT_FDCWD is alwasy
defined for rumpkernels.

diffstat:

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

diffs (17 lines):

diff -r e5f5e1341078 -r 5454242db487 lib/librumphijack/Makefile
--- a/lib/librumphijack/Makefile        Sun Feb 17 23:17:41 2019 +0000
+++ b/lib/librumphijack/Makefile        Sun Feb 17 23:33:20 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2017/05/11 04:33:14 sevan Exp $
+#      $NetBSD: Makefile,v 1.21 2019/02/17 23:33:20 bad Exp $
 #
 
 LIB=           rumphijack
@@ -11,6 +11,7 @@
 SRCS=          hijack.c hijackdlsym.c
 
 CPPFLAGS+=     -D_DIAGNOSTIC -D_REENTRANT
+CPPFLAGS.hijack.c+= -D_INCOMPLETE_XOPEN_C063
 
 WARNS?=                5
 



Home | Main Index | Thread Index | Old Index