Add Linux compile support. - gopherproxy-c - Gopher HTTP proxy in C (CGI) | |
git clone git://git.codemadness.org/gopherproxy-c | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit dbe80c7d9f93688585348abacbde2cd22c5373a9 | |
parent c203aa551a7deb54746100ba0532d5e6d234ad85 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Mon, 13 Aug 2018 12:42:29 +0200 | |
Add Linux compile support. | |
Diffstat: | |
M Makefile | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -7,6 +7,8 @@ OBJ = $(BIN:=.o) | |
#CFLAGS += -DUSE_PLEDGE | |
# build static: useful in www chroot. | |
#LDFLAGS += -static | |
+# Linux | |
+#CPPFLAGS += -D_DEFAULT_SOURCE | |
all: $(BIN) | |