scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit fbb0eced4666b93e451961c3f264f6430d9308e0
parent d463ddfc8e81b2c107e958767ad8b5afe685994d
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 17 Oct 2024 12:21:47 +0200

Merge remote-tracking branch 'origin/master'

Diffstat:
Mtests/ld/execute/Makefile | 2+-
Mtests/nm/execute/Makefile | 2+-
Mtests/size/execute/Makefile | 2+-
Mtests/strip/execute/Makefile | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/ld/execute/Makefile b/tests/ld/execute/Makefile @@ -10,7 +10,7 @@ OBJLIB = f3.o all: a.out tests: - @if $(AS) /dev/null 2>/dev/null;\ + @if command -v $(AS) >/dev/null;\ then\ $(MAKE) |\ grep -v TODO |\ diff --git a/tests/nm/execute/Makefile b/tests/nm/execute/Makefile @@ -9,7 +9,7 @@ all: $(OUT) @PATH=$(ROOT)/bin:$$PATH:. chktest.sh tests: - @if $(AS) /dev/null 2>/dev/null;\ + @if command -v $(AS) >/dev/null;\ then\ $(MAKE) |\ grep -v TODO |\ diff --git a/tests/size/execute/Makefile b/tests/size/execute/Makefile @@ -9,7 +9,7 @@ all: $(OUT) @PATH=$(ROOT)/bin:$$PATH:. chktest.sh tests: - @if $(AS) /dev/null 2>/dev/null;\ + @if command -v $(AS) >/dev/null;\ then\ $(MAKE) | \ grep -v TODO |\ diff --git a/tests/strip/execute/Makefile b/tests/strip/execute/Makefile @@ -9,7 +9,7 @@ all: $(OUT) @PATH=$(ROOT)/bin:$$PATH:. chktest.sh tests: - @if $(AS) /dev/null 2>/dev/null;\ + @if command -v $(AS) >/dev/null;\ then\ $(MAKE) |\ grep -v TODO |\