diff -Nru autofdo-0.19/debian/changelog autofdo-0.19/debian/changelog --- autofdo-0.19/debian/changelog 2019-10-28 10:28:07.000000000 +0000 +++ autofdo-0.19/debian/changelog 2020-05-21 21:21:00.000000000 +0000 @@ -1,3 +1,9 @@ +autofdo (0.19-2+rpi1) bullseye-staging; urgency=medium + + * Add -latomic in another place. + + -- Peter Michael Green Thu, 21 May 2020 21:21:00 +0000 + autofdo (0.19-2) unstable; urgency=medium * Link with -latomic where needed. diff -Nru autofdo-0.19/debian/patches/further-atomic.diff autofdo-0.19/debian/patches/further-atomic.diff --- autofdo-0.19/debian/patches/further-atomic.diff 1970-01-01 00:00:00.000000000 +0000 +++ autofdo-0.19/debian/patches/further-atomic.diff 2020-05-21 21:21:00.000000000 +0000 @@ -0,0 +1,14 @@ +Description: Add -latomic in another place. +Author: Peter Michael Green + +--- autofdo-0.19.orig/Makefile.am ++++ autofdo-0.19/Makefile.am +@@ -29,7 +29,7 @@ $(protoc_outputs): $(protoc_inputs) $(PR + ACLOCAL_AMFLAGS = -I m4 + AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/third_party/perf_data_converter/src/quipper -I./$(PROTOBUF)/src + AM_CXXFLAGS = -std=gnu++11 -I./$(PROTOBUF)/src +-LIBS += -lpthread ++LIBS += -lpthread -latomic + LIBELF = -lelf + + LDADD_GFLAGS = -lgflags diff -Nru autofdo-0.19/debian/patches/series autofdo-0.19/debian/patches/series --- autofdo-0.19/debian/patches/series 2019-10-28 10:27:55.000000000 +0000 +++ autofdo-0.19/debian/patches/series 2020-05-21 21:21:00.000000000 +0000 @@ -2,3 +2,4 @@ link-libglog.diff disable-rpath.diff link-atomic.diff +further-atomic.diff