From ab33f01fbd21c7527da7e39d0d6b883bcbc82204 Mon Sep 17 00:00:00 2001 From: Mark Janssen -- Sig-I/O Automatisering Date: Thu, 28 Jan 2021 22:14:02 +0100 Subject: [PATCH] Apply debian patches for Makefile --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ecdaa5f..d2fc076 100644 --- a/Makefile +++ b/Makefile @@ -17,9 +17,6 @@ OPTFLAGS += -DUSE_SSL # Most systems OPTFLAGS += -DSETPROCTITLE -DSPT_TYPE=2 -# Comment if you don't have this flag -OPTFLAGS += -DSO_REUSEPORT - # System dependant blocks... if your system is listed below, uncomment # the relevant lines @@ -81,7 +78,7 @@ docs: $(MAKE) -C docs proxytunnel: $(OBJ) - $(CC) -o $(name) $(CFLAGS) $(OPTFLAGS) $(OBJ) $(LDFLAGS) + $(CC) -o $(name) $(CPPFLAGS) $(CFLAGS) $(OPTFLAGS) $(OBJ) $(LDFLAGS) clean: @rm -f $(name) $(OBJ) @@ -93,7 +90,7 @@ install: $(MAKE) -C docs install .c.o: - $(CC) $(CFLAGS) $(OPTFLAGS) -c -o $@ $< + $(CC) $(CPPFLAGS) $(CFLAGS) $(OPTFLAGS) -c -o $@ $< dist: clean docs sed -i -e 's/^Version:.*$$/Version: $(version)/' contrib/proxytunnel.spec