1
0
This repository has been archived on 2025-06-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openwrt_archive/net/e169-stats/patches/01-make.patch
Florian Fainelli 5e60e6d2ba e169-stats: rework makefile patch to be more general
Allow the makefile patch to pass CFLAGS, CPPFLAGS, and LDFLAGS

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39803
2014-03-08 00:56:45 +00:00

12 lines
247 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
all: e169-stats
e169-stats: e169-stats.c
- gcc -Wall -o e169-stats e169-stats.c -lcurses
+ $(CC) $(CFLAGS) -Wall -o e169-stats e169-stats.c $(CPPFLAGS) $(LDFLAGS)
clean:
-rm e169-stats *.core