summaryrefslogtreecommitdiffstats
path: root/usr.bin/bmake/unit-tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/bmake/unit-tests/Makefile')
-rw-r--r--usr.bin/bmake/unit-tests/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/bmake/unit-tests/Makefile b/usr.bin/bmake/unit-tests/Makefile
index 8b2f514..0b9db1e 100644
--- a/usr.bin/bmake/unit-tests/Makefile
+++ b/usr.bin/bmake/unit-tests/Makefile
@@ -79,10 +79,12 @@ TOOL_TR?= tr
TOOL_DIFF?= diff
DIFF_FLAGS?= -u
+.if defined(.PARSEDIR)
# ensure consistent results from sort(1)
LC_ALL= C
LANG= C
.export LANG LC_ALL
+.endif
# The driver.
# We always pretend .MAKE was called 'make'
OpenPOWER on IntegriCloud