Control: tags -1 patch

On Tue, Mar 10, 2020 at 11:12:16AM +0000, Ivo De Decker wrote:
> package: src:aspectc++
> version: 1:2.2+git20200229-1
> severity: serious
> tags: ftbfs
> 
> Hi,
> 
> The latest upload of aspectc++ to unstable fails on armel:
> 
> https://buildd.debian.org/status/package.php?p=aspectc%2B%2B

Fix attached.

> Cheers,
> 
> Ivo

cu
Adrian
Description: Link with libatomic when needed
Author: Adrian Bunk <b...@debian.org>
Bug-Debian: https://bugs.debian.org/953540

--- aspectc++-2.2+git20200229.orig/AspectC++/Makefile
+++ aspectc++-2.2+git20200229/AspectC++/Makefile
@@ -63,7 +63,7 @@ endif
 LDFLAGS += $(LIBXML2_LIB)
 ifneq ($(FRONTEND),Puma)
 ifneq ($(_TARGET),macosx_x86_64)
-  LDFLAGS += -lclangRewriteFrontend -lclangRewrite -lclangFrontend -lclangSerialization -lclangDriver -lclangParse -lclangSema -lclangAnalysis -lclangEdit -lclangAST -lclangLex -lclangBasic -lLLVMAsmParser -lLLVMMCParser -lLLVMBitReader -lLLVMTransformUtils -lLLVMCore -lLLVMMC -lLLVMOption -lLLVMSupport
+  LDFLAGS += -lclangRewriteFrontend -lclangRewrite -lclangFrontend -lclangSerialization -lclangDriver -lclangParse -lclangSema -lclangAnalysis -lclangEdit -lclangAST -lclangLex -lclangBasic -lLLVMAsmParser -lLLVMMCParser -lLLVMBitReader -lLLVMTransformUtils -lLLVMCore -lLLVMMC -lLLVMOption -lLLVMSupport -Wl,--as-needed -latomic -Wl,--no-as-needed
   ifneq ($(filter 9.0%, $(LLVM_VERSION)),)
     LDFLAGS += -lLLVMBitstreamReader -lLLVMBinaryFormat -lLLVMRemarks -lLLVMProfileData -lLLVMSupport -lLLVMDemangle
   endif

Reply via email to