]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Makefile: fix make -s detection
authorValery Ushakov <valery.ushakov@bell-sw.com>
Wed, 22 May 2024 14:07:38 +0000 (17:07 +0300)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Thu, 23 May 2024 13:54:43 +0000 (15:54 +0200)
commit906922ee321d64e2ce8458147e67d4892696fb58
tree041b475f426c74f0c9c0826b47f7169c2f51cf75
parent50b100768a115526f5029113af957658ef76b383
Makefile: fix make -s detection

Only check the first word of MAKEFLAGS for 's', that's where all the
single letter options are collected.

MAKEFLAGS contains _all_ make flags, so if any command line argument
contains a letter 's', the silent test will be false positive.  Think
e.g. make 'DESTDIR=.../aports/main/mdadm/pkg/mdadm' install
Makefile