On 12/30/2016 12:49 PM, Sander Hoentjen wrote:
Hi guys,
My latest build [1] of dnsdist failed on ppc64, because libatomic is not
in the default buildroot there, as opposed to all the other arches.
Is this intentional? Should I just add libatomic as a BR?
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=17115104
dnsdist-1.1.0/m4/pdns_check_os.m4 has this:
case "$host" in
mips*)
LDFLAGS="-latomic $LDFLAGS"
;;
powerpc*)
LDFLAGS="-latomic $LDFLAGS"
;;
esac
If you link against libatomic explicitly, you need to specify a suitable
build dependency.
(If the dependency on libatomic is introduced by a build dependency,
that build dependency would in turn have to depend on libatomic, and not
your package.)
Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx