diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-16 16:18:53 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-16 16:18:53 +0200 |
commit | d3985b00b5fb272f6d8bb8ba8ac50b493c40082d (patch) | |
tree | b09a5512b32c55e0f35d9411a214957527171155 /Makefile | |
parent | 8fd8a54c4ee34e5d879227f261f881f13002f789 (diff) |
Remove CVS version tags, they did not work anymore after moving to git
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -49,10 +49,12 @@ FEATURES+=-DWANT_FULLSCRAPE | |||
49 | #FEATURES+=-D_DEBUG_HTTPERROR | 49 | #FEATURES+=-D_DEBUG_HTTPERROR |
50 | #FEATURES+=-D_DEBUG_RANDOMTORRENTS | 50 | #FEATURES+=-D_DEBUG_RANDOMTORRENTS |
51 | 51 | ||
52 | GIT_VERSION=$(shell sh -c 'command -v git >/dev/null && test -d .git && git rev-parse HEAD || echo _git_or_commit_not_found_') | ||
53 | |||
52 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage | 54 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage |
53 | OPTS_production=-O3 | 55 | OPTS_production=-O3 |
54 | 56 | ||
55 | CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -pthread -Wextra #-ansi -pedantic | 57 | CFLAGS+=-I$(LIBOWFAT_HEADERS) -DGIT_VERSION=$(GIT_VERSION) -Wall -pipe -pthread -Wextra #-ansi -pedantic |
56 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz | 58 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz |
57 | #LDFLAGS+=-lbsd | 59 | #LDFLAGS+=-lbsd |
58 | 60 | ||