[PATCH] Makefile: Run $CC properly
Export this patch
This fixes a build issue when trying to package for Alpine:
gcc-Wl,--as-needed,-O1,--sort-common -o stacktile stacktile.o river-layout-v3.o river-status-unstable-v1.o -lwayland-client -lm
make: gcc-Wl,--as-needed,-O1,--sort-common: No such file or directory
---
Makefile | 2 + -
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5c15b2c..dfb6617 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ OBJ=stacktile.o river-layout-v3.o river-status-unstable-v1.o
GEN=river-layout-v3.h river-layout-v3.c river-status-unstable-v1.h river-status-unstable-v1.h
stacktile: $(OBJ)
- $(CC)$ $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
+ $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
$(OBJ): $(GEN)
--
2.36.1
Thanks!
This typo has copy-pasted itself into pretty much all my makefiles.
I thought I fixed them all, but apparently I missed some...
Friendly greetings,
Leon Henrik Plickat