diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-18 12:32:00 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-18 12:46:10 -0500 |
commit | c43a2452921ac86e65eb70797c8a82b82c2b4076 (patch) | |
tree | cef341f060c37e4b6d586aa0f91720e18c9a3cdf /src/feature/relay/include.am | |
parent | 1f06f494c8ce45946e565237a8a52785a8ece447 (diff) | |
download | tor-c43a2452921ac86e65eb70797c8a82b82c2b4076.tar.gz tor-c43a2452921ac86e65eb70797c8a82b82c2b4076.zip |
Disable dns.c when relay mode is disabled.
This saves about 1% for me on a binary compiled without relay mode.
Closes ticket 33366.
Diffstat (limited to 'src/feature/relay/include.am')
-rw-r--r-- | src/feature/relay/include.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/include.am b/src/feature/relay/include.am index a4c025ae12..ad81e60d75 100644 --- a/src/feature/relay/include.am +++ b/src/feature/relay/include.am @@ -1,7 +1,6 @@ # Legacy shared relay code: migrate to the relay module over time LIBTOR_APP_A_SOURCES += \ - src/feature/relay/dns.c \ src/feature/relay/ext_orport.c \ src/feature/relay/onion_queue.c \ src/feature/relay/router.c \ @@ -12,6 +11,7 @@ LIBTOR_APP_A_SOURCES += \ # ADD_C_FILE: INSERT SOURCES HERE. MODULE_RELAY_SOURCES = \ + src/feature/relay/dns.c \ src/feature/relay/routermode.c \ src/feature/relay/relay_config.c \ src/feature/relay/relay_periodic.c \ |