From d7e5a591b5201b833bc89221f581693be46a7fce Mon Sep 17 00:00:00 2001 From: "D. Bohdan" Date: Fri, 29 Sep 2023 08:43:33 +0000 Subject: [PATCH] build(makefile): fix build on aarch64 (Termux) https://github.com/termux/termux-packages/issues/8273#issuecomment-1133861593 --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 819a9a4..678db80 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,5 +1,5 @@ WIN32_CC ?= i686-w64-mingw32-gcc -CFLAGS ?= -g -O3 -static -lm -Wall -Wextra +CFLAGS ?= -g -O3 -static -ffunction-sections -fdata-sections -Wl,--gc-sections -lm -Wall -Wextra PREFIX ?= /usr/local all: hicolor