summaryrefslogtreecommitdiff
path: root/pathd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-04-09 19:56:05 +0200
committerDavid Lamparter <equinox@diac24.net>2021-04-09 19:56:05 +0200
commit636aad94735aff8aeec911bca4c32f4e5e48d77c (patch)
tree6a258ca903d0d6d76f829059668174e458f06b8f /pathd
parentb17f302b2015c0e8d97a0ff3f023b83830a6ec6f (diff)
build: don't link pathd/path_main.c twice
Can't have things duplicate in libpath.a and pathd directly, they'll crash into eath other on linking. No idea why this doesn't error out in our CI builds, but it definitely breaks LTO builds. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'pathd')
-rw-r--r--pathd/subdir.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/pathd/subdir.am b/pathd/subdir.am
index b4501214bf..fdc08e9e97 100644
--- a/pathd/subdir.am
+++ b/pathd/subdir.am
@@ -22,7 +22,6 @@ pathd_libpath_a_SOURCES = \
pathd/path_cli.c \
pathd/path_debug.c \
pathd/path_errors.c \
- pathd/path_main.c \
pathd/path_nb.c \
pathd/path_nb_config.c \
pathd/path_nb_state.c \
@@ -50,7 +49,9 @@ noinst_HEADERS += \
pathd/pathd.h \
# end
-pathd_pathd_SOURCES = pathd/path_main.c
+pathd_pathd_SOURCES = \
+ pathd/path_main.c \
+ # end
nodist_pathd_pathd_SOURCES = \
yang/frr-pathd.yang.c \
# end