Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make/unit-tests Use .MAKE.OS if we can



details:   https://anonhg.NetBSD.org/src/rev/43349baaa1c7
branches:  trunk
changeset: 957587:43349baaa1c7
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sat Dec 05 03:42:15 2020 +0000

description:
Use .MAKE.OS if we can

diffstat:

 usr.bin/make/unit-tests/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 673ca3a8ecb2 -r 43349baaa1c7 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Fri Dec 04 23:04:58 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Sat Dec 05 03:42:15 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.235 2020/12/04 14:28:50 rillig Exp $
+# $NetBSD: Makefile,v 1.236 2020/12/05 03:42:15 sjg Exp $
 #
 # Unit tests for make(1)
 #
@@ -552,7 +552,7 @@
 
 MAKE_TEST_ENV?=        MALLOC_OPTIONS="JA"     # for jemalloc
 
-.if ${:!uname -s!} == "NetBSD"
+.if ${.MAKE.OS:U${uname -s:L:sh}} == "NetBSD"
 LIMIT_RESOURCES?=      ulimit -v 200000
 .endif
 LIMIT_RESOURCES?=      :



Home | Main Index | Thread Index | Old Index