mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 02:34:59 +00:00
Apply debian patches for Makefile
This commit is contained in:
parent
2125c79f7d
commit
ab33f01fbd
1 changed files with 2 additions and 5 deletions
7
Makefile
7
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue