Static linking for portability

master
Robert Zaage 2 years ago
parent 54c5378097
commit 634c1937de

@ -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

Loading…
Cancel
Save