mirror of
git://erdgeist.org/opentracker
synced 2025-02-17 06:31:30 +08:00
Make allowing gzip a Makefile tunable
This commit is contained in:
parent
c5e5569770
commit
c09ad325cc
4
Makefile
4
Makefile
@ -4,11 +4,13 @@ CC?=gcc
|
|||||||
#FEATURES+=-DWANT_CLOSED_TRACKER
|
#FEATURES+=-DWANT_CLOSED_TRACKER
|
||||||
#FEATURES+=-DWANT_UTORRENT1600_WORKAROUND
|
#FEATURES+=-DWANT_UTORRENT1600_WORKAROUND
|
||||||
#FEATURES+=-DWANT_IP_FROM_QUERY_STRING
|
#FEATURES+=-DWANT_IP_FROM_QUERY_STRING
|
||||||
|
#FEATURES+=-DWANT_COMPRESSION_GZIP
|
||||||
#FEATURES+=-D_DEBUG_HTTPERROR
|
#FEATURES+=-D_DEBUG_HTTPERROR
|
||||||
|
|
||||||
OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage
|
OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage
|
||||||
OPTS_production=-Os
|
OPTS_production=-Os
|
||||||
CFLAGS+=-I../libowfat -Wall -pipe -Wextra #-pedantic -ansi
|
CFLAGS+=-I../libowfat -Wall -pipe -Wextra #-pedantic -ansi
|
||||||
LDFLAGS+=-L../libowfat/ -lowfat -pthread
|
LDFLAGS+=-L../libowfat/ -lowfat -pthread -lz
|
||||||
|
|
||||||
BINARY =opentracker
|
BINARY =opentracker
|
||||||
HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_sync.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h
|
HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_sync.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user