]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: disable gold linker in CI
authorVincent Bernat <vincent@bernat.ch>
Sun, 31 Mar 2024 13:46:54 +0000 (15:46 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sun, 31 Mar 2024 13:46:54 +0000 (15:46 +0200)
This should not be needed anymore nowadays. This is a tentative to fix
the following errors with clang:

    /usr/bin/ld.gold: warning: Cannot export local symbol '__asan_check_load_add_16_RAX'

tests/ci/run.sh

index 71526cec640818da7494c8f053fb5e117fe93490..acd407c93a1f9035100794581bdda0139c595e4c 100755 (executable)
@@ -8,7 +8,6 @@ case "$(uname -s)" in
         LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS --localstatedir=/var --sysconfdir=/etc --prefix=/usr"
         [ $(uname -m) != x86_64 ] || \
             LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS --enable-sanitizers"
-        LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS LDFLAGS=-fuse-ld=gold"
         ;;
     Darwin)
         LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS CFLAGS=-mmacosx-version-min=11.1"