mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Fix benchmarks to run without crashing.
I broke this when I added separate test-mode support by having the benchmarks get built with TEST_CFLAGS.
This commit is contained in:
parent
1825674bd3
commit
2f2fa7683d
@ -14,8 +14,6 @@ const char tor_git_revision[] = "";
|
||||
|
||||
#include "orconfig.h"
|
||||
|
||||
#define RELAY_PRIVATE
|
||||
|
||||
#include "or.h"
|
||||
#include "onion_tap.h"
|
||||
#include "relay.h"
|
||||
|
@ -45,8 +45,6 @@ src_test_test_CPPFLAGS= $(src_test_AM_CPPFLAGS)
|
||||
src_test_bench_SOURCES = \
|
||||
src/test/bench.c
|
||||
|
||||
src_test_bench_CPPFLAGS= $(src_test_AM_CPPFLAGS)
|
||||
|
||||
src_test_test_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
|
||||
@TOR_LDFLAGS_libevent@
|
||||
src_test_test_LDADD = src/or/libtor-testing.a src/common/libor-testing.a \
|
||||
|
Loading…
Reference in New Issue
Block a user