birdwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c6bd781e05116c082783b620c43bec05fc0602ef
parent e63f0f4f60b260206b6c60a0f39bc68d89a6bd5e
Author: grouse <bdmfegys@duck.com>
Date:   Tue, 12 Dec 2023 21:42:17 -0500

append tinycc if statement to slstatus config.mk

Diffstat:
Mslstatus/config.mk | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/slstatus/config.mk b/slstatus/config.mk @@ -19,4 +19,9 @@ LDFLAGS = -L$(X11LIB) -s LDLIBS = -lX11 # compiler and linker -CC = cc +TCCCHECK = $(shell which tcc) +ifeq ($(TCCCHECK), $(shell false)) + CC = cc +else + CC = tcc +endif