summaryrefslogtreecommitdiff
path: root/contrib/buildsystems
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-08-13 14:59:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-13 18:02:12 (GMT)
commitd7a5649c82dfa83ba8d0253e4140f242dca859a7 (patch)
tree32a6298dadd6cce80adf1d95604e00169eaf21b2 /contrib/buildsystems
parentb5dd96b70aca364f163f0b3743418779cfe062e6 (diff)
downloadgit-d7a5649c82dfa83ba8d0253e4140f242dca859a7.zip
git-d7a5649c82dfa83ba8d0253e4140f242dca859a7.tar.gz
git-d7a5649c82dfa83ba8d0253e4140f242dca859a7.tar.bz2
make git-bugreport a builtin
There's no reason that bugreport has to be a separate binary. And since it links against libgit.a, it has a rather large disk footprint. Let's make it a builtin, which reduces the size of a stripped installation from 24MB to 22MB. This also simplifies our Makefile a bit. And we can take advantage of builtin niceties like RUN_SETUP_GENTLY. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/buildsystems')
-rw-r--r--contrib/buildsystems/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/buildsystems/CMakeLists.txt b/contrib/buildsystems/CMakeLists.txt
index 4be6124..3e21160 100644
--- a/contrib/buildsystems/CMakeLists.txt
+++ b/contrib/buildsystems/CMakeLists.txt
@@ -501,7 +501,7 @@ unset(CMAKE_REQUIRED_INCLUDES)
#programs
set(PROGRAMS_BUILT
- git git-bugreport git-daemon git-fast-import git-http-backend git-sh-i18n--envsubst
+ git git-daemon git-fast-import git-http-backend git-sh-i18n--envsubst
git-shell git-remote-testsvn)
if(NOT CURL_FOUND)
@@ -624,9 +624,6 @@ list(TRANSFORM git_SOURCES PREPEND "${CMAKE_SOURCE_DIR}/")
add_executable(git ${CMAKE_SOURCE_DIR}/git.c ${git_SOURCES})
target_link_libraries(git common-main)
-add_executable(git-bugreport ${CMAKE_SOURCE_DIR}/bugreport.c)
-target_link_libraries(git-bugreport common-main)
-
add_executable(git-daemon ${CMAKE_SOURCE_DIR}/daemon.c)
target_link_libraries(git-daemon common-main)