From 634c1937dee6e00fcd72327f292c2eb65fb19a79 Mon Sep 17 00:00:00 2001 From: Robert Zaage Date: Mon, 4 Jul 2022 07:50:30 +0000 Subject: [PATCH] Static linking for portability --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ebe3356..de65d1f 100755 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ CC = gcc LIBS = -lz -#BUILDNO = `cat build` + BUILDNO=$(shell cat build) -CFLAGS = -O2 -Wunused -Wno-unused-result -D BUILDNO=$(BUILDNO) -D_7ZIP_ST $(LIBS) +CFLAGS = -O2 -Wunused -Wno-unused-result -static -D BUILDNO=$(BUILDNO) -D_7ZIP_ST $(LIBS) .PHONY: all clean all: balong-flash