Commit 29b7ac56 authored by Gaudenz Steinlin's avatar Gaudenz Steinlin
Browse files

Patch to check for atomic support during build

Instead of building with -Wl,--as-needed -latomic an all architectures,
this dynamically detects the need for linking against libatomic. This is
cleaner.

The previous approach of setting the linker flags with
DEB_LDFLAGS_MAINT_APPEND added the flags to early on the command line so
that not all objects were linked against libatomic. This lead to build
failures on at least mips and mipsel.

Closes: #913601
parent 37d8ba4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment