Root/offrss/patches/001-fix-the-static-gcc-in-Makefile.patch

1diff --git a/Makefile b/Makefile
2index ff2e231..8414bae 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -1,7 +1,7 @@
6 VERSION=$(shell if test -f manifest.uuid; then cat manifest.uuid | cut -c -10 ; else echo undefined; fi)
7 
8 offrss: offrss.c server.c encoding.c util.c
9- gcc -DVERSION="$(VERSION)" -g -o $@ $^ -lmrss -lcurl
10+ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION="$(VERSION)" -g -o $@ $^ -lmrss -lcurl
11 
12 offrss.c: offrss.h
13 server.c: offrss.h
14

Archive Download this file



interactive