package/drbd-utils: drbdmon needs sync_1

Buildroot commit 99585db1e8 bumped the
package from version 9.21.4 to 9.33.0.

Upstream added std::atomic to drbdmon with commit
3baf945732
to version 9.25.0 causing build errors:

/home/autobuild/autobuild/instance-2/output-1/per-package/drbd-utils/host/bin/../lib/gcc/microblazeel-buildroot-linux-uclibc/14.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld:
 MessageLogNotification.o: in function `MessageLogNotification::query_log_changed()':
 (.text+0xe8): undefined reference to `__atomic_exchange_1'

Fixes:
https://autobuild.buildroot.net/results/741/741606000c26bc994f243b0b865d26ff25592caa/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls
2026-01-22 19:27:13 +01:00
committed by Peter Korsgaard
parent 07917a05db
commit fe49d5c682

View File

@@ -20,7 +20,7 @@ else
DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_TOOLCHAIN_HAS_SYNC_1),yy)
DRBD_UTILS_CONF_OPTS += --with-drbdmon
else
DRBD_UTILS_CONF_OPTS += --without-drbdmon