From 5139675bfad723e6a9a606e080541bb0b791f43b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 26 Feb 2023 14:59:58 -0800 Subject: [PATCH] altos/draw: use --gc-sections in demo program This cleans up all of the unused font bits Signed-off-by: Keith Packard --- src/draw/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw/Makefile b/src/draw/Makefile index 29f5d680..cbbd3457 100644 --- a/src/draw/Makefile +++ b/src/draw/Makefile @@ -103,7 +103,7 @@ SRCS=\ OBJS=$(SRCS:.c=.o) -LIBS=-lXrender -lX11 -lm +LIBS=-lXrender -lX11 -lm -Wl,--gc-sections CFLAGS=-O2 -g $(WARN_FLAGS) -- 2.30.2