Build: Fix tests for the 'make -s' flag

'make -j2' or more adds an 's' to MFLAGS in "--jobserver-fds".
This is the correct way to do the check.
This commit is contained in:
Andrew Johnson
2020-12-30 12:57:26 -06:00
parent a043599e18
commit d997690aa5
3 changed files with 4 additions and 4 deletions

View File

@ -80,9 +80,9 @@ COMMON_DIR = ../O.Common
IOCS_APPL_TOP = $(shell $(FULLPATHNAME) $(INSTALL_LOCATION))
#-------------------------------------------------------
# Make echo output - suppress echoing if make's '-s' flag is set
# Make echo output - suppress echoing if '-s' flag was given
NOP = :
ECHO = @$(if $(findstring s,$(MFLAGS)),$(NOP),echo)
ECHO = @$(if $(filter -s,$(MFLAGS)),$(NOP),echo)
#-------------------------------------------------------
ifdef T_A