From 9fcd90077a9915b678d6c877914fa8e9a8c941ca Mon Sep 17 00:00:00 2001 From: Nick Peng Date: Mon, 23 Jul 2018 23:44:09 +0800 Subject: [PATCH] Update Package --- package/openwrt/control/control | 6 ++---- src/Makefile | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package/openwrt/control/control b/package/openwrt/control/control index 18866e5..6928014 100644 --- a/package/openwrt/control/control +++ b/package/openwrt/control/control @@ -1,11 +1,9 @@ Package: smartdns -Architecture: mipsbig +Architecture: Priority: optional Section: net -Version: 2018.7.6-1921 +Version: Maintainer: pymumu Source: http://127.0.0.1/ Description: A smart dns server -Suggests: -Conflicts: Enabled: yes diff --git a/src/Makefile b/src/Makefile index ac1cee7..74a5ea0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -7,13 +7,14 @@ CFLAGS +=-Iinclude CFLAGS += -DBASE_FILE_NAME=\"$(notdir $<)\" CXXFLAGS=-g -O0 -Wall -std=c++11 CXXFLAGS +=-Iinclude +LDFLAGS += -lpthread .PHONY: all all: $(BIN) $(BIN) : $(OBJS) - $(CC) $(OBJS) -o $@ -lpthread + $(CC) $(OBJS) -o $@ $(LDFLAGS) clean: $(RM) $(OBJS) $(BIN)