This is basically ea68de2968 but
for LDFLAGS. A number of external libs cannot use this because
their libtool mishandles -fuse-ld.
Change-Id: Idee379eb0a3afb475b536519ee3de064b4e218f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133639
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
From [https://github.com/ivmai/libatomic_ops/]. Note that some files (linked into libatomic_ops_gpl) are GPL'd, the portion needed for Firebird (libatomic_ops) is however MIT licensed.