build: IS_TTY is now set according to GNU Make's MAKE_TERMOUT
authorR. Diez <rdiezmail-openwrt@yahoo.com>
Wed, 10 Jun 2020 09:33:26 +0000 (11:33 +0200)
committerPaul Spooren <mail@aparcar.org>
Tue, 16 Feb 2021 02:36:13 +0000 (16:36 -1000)
commita015d9170851509a58e063dd82a054e98fb48700
treefc4a6dda666520647df6b141fb319591106fb6ff
parent6dba010157f2ac6485bb3dee6a5ed4450fb09463
build: IS_TTY is now set according to GNU Make's MAKE_TERMOUT

The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
Fixes: FS#2086
The logic for IS_TTY was broken, because it was testing stdin
instead of stdout.
MAKE_TERMOUT was introduced in GNU Make version 4.1 (05 Oct 2014),
so it should be available everywhere nowadays.

Signed-off-by: R. Diez <rdiezmail-openwrt@yahoo.com>
include/toplevel.mk