From 37e89f027f7c1c0b4c55abd1f9ac88ea19d24cc4 Mon Sep 17 00:00:00 2001 From: Robert Foss Date: Thu, 14 Oct 2021 12:54:58 +0200 Subject: [PATCH] Build static binaries --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 57926f6..b5d09c3 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ OUT := debugcc CC=aarch64-linux-gnu-gcc CFLAGS := -O2 -Wall -g -LDFLAGS := +LDFLAGS := -static -static-libgcc prefix := /usr/local SRCS := debugcc.c qcs404.c sdm845.c