commit 0acf44b9a7ec1f429b43ee64ad76508273b5cf24
parent 25e10f3ef3f871e138251dc90d52b2698947becd
Author: bsandro <email@bsandro.tech>
Date: Fri, 2 Jan 2026 21:40:37 +0200
Removed linker argument that was not supported on macos
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cli/Makefile b/cli/Makefile
@@ -4,7 +4,7 @@ DEPS:=$(wildcard ../include/*.h)
OBJ:=$(SRC:.c=.o)
LIBS:=libwebp libwebpdemux
CFLAGS=-Os -std=c99 -ffast-math -fno-stack-protector -fomit-frame-pointer -fwrapv -ffunction-sections -fdata-sections -fno-asynchronous-unwind-tables -fno-unwind-tables -fmerge-all-constants -fno-ident -march=native -Wall -Wextra -I. ${shell pkg-config --cflags $(LIBS)}
-LDFLAGS=-lc -Wl,--gc-sections ${shell pkg-config --libs $(LIBS)}
+LDFLAGS=-lc ${shell pkg-config --libs $(LIBS)}
all: $(NAME)