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)