From: Nilesh Patra Date: Thu, 3 Oct 2024 23:37:27 +0000 (+0900) Subject: Manually pass in -latomic on armel to fix FTBFS X-Git-Tag: archive/raspbian/1.1.7-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=41a213b837b463ac2c7e95e07b638eb3ecc1c2e3;p=r-cran-s2.git Manually pass in -latomic on armel to fix FTBFS Last-Update: 2021-10-05 Gbp-Pq: Name fix-armel-ftbfs.patch --- diff --git a/src/Makevars.in b/src/Makevars.in index e6227cc..1ce1490 100644 --- a/src/Makevars.in +++ b/src/Makevars.in @@ -4,6 +4,10 @@ PKG_CXXFLAGS = @cflags@ -pthread CXX_STD = CXX14 +ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel riscv64 m68k powerpc)) +PKG_LIBS += -latomic +endif + ABSL_LIBS = absl/base/internal/cycleclock.o \ absl/base/internal/low_level_alloc.o \ absl/base/internal/raw_logging.o \