blob: c16b8dbc5a579174b588de28e7bff71399fe2b10 [file] [log] [blame]
Brad Bishop23eaf032019-11-20 05:15:02 -05001From 996d37fc0b7177ee57788399b9140032d5de2765 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 18 Nov 2019 15:50:02 -0800
4Subject: [PATCH] nmea_gps: Link with latomic
5
6clang/x86 ends up with missing symbols for atomics due to atomic<double>
7with libstdc++, it works ok with libc++
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/nmea_gps/CMakeLists.txt | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/src/nmea_gps/CMakeLists.txt b/src/nmea_gps/CMakeLists.txt
16index b3fb6591..5280bfed 100644
17--- a/src/nmea_gps/CMakeLists.txt
18+++ b/src/nmea_gps/CMakeLists.txt
19@@ -6,4 +6,4 @@ upm_mixed_module_init (NAME nmea_gps
20 CPP_SRC nmea_gps.cxx
21 FTI_SRC nmea_gps_fti.c
22 CPP_WRAPS_C
23- REQUIRES mraa utilities-c ${CMAKE_THREAD_LIBS_INIT})
24+ REQUIRES mraa utilities-c atomic ${CMAKE_THREAD_LIBS_INIT})
25--
262.24.0
27