birdwm

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

commit e63f0f4f60b260206b6c60a0f39bc68d89a6bd5e
parent 763a0ba818c71a7f13bbe75e86909372f37f9f9e
Author: grouse <bdmfegys@duck.com>
Date:   Tue, 12 Dec 2023 21:40:36 -0500

append tinycc if statement to slock config.mk

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

diff --git a/slock/config.mk b/slock/config.mk @@ -37,4 +37,9 @@ COMPATSRC = explicit_bzero.c #COMPATSRC = # compiler and linker -CC = cc +TCCCHECK = $(shell which tcc) +ifeq ($(TCCCHECK), $(shell false)) + CC = cc +else + CC = tcc +endif