Fix -latomic for CMake packages
authorGleb Mazovetskiy <glex.spb@gmail.com>
Tue, 13 Apr 2021 06:26:14 +0000 (07:26 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 1 May 2021 13:00:18 +0000 (15:00 +0200)
commit7333207eaf2900076185cba6641c6406d61c235e
tree89e5ab18622bd99552ba586296c6425433d7f560
parent862609b389dbcae688fd23d31973653741dd48e6
Fix -latomic for CMake packages

The poppler package failed to build for me with errors such as this one:

    host/aarch64-buildroot-linux-gnu/include/c++/10.3.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
       75 | #include_next <stdlib.h>
          |               ^~~~~~~~~~

Changing the CMake option to a link-specific one fixes the issue.

Also change other packages with the same issue: cutelyst, gerbera,
kf5-modemmanager-qt, kodi and wampcc.

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/cutelyst/cutelyst.mk
package/gerbera/gerbera.mk
package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk
package/kodi/kodi.mk
package/poppler/poppler.mk
package/wampcc/wampcc.mk