diff options
author | John Klug <john.klug@multitech.com> | 2016-12-13 17:58:59 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2016-12-13 17:58:59 -0600 |
commit | 9e667ff529b65eac316b4f66c4ae37ed835b7138 (patch) | |
tree | c8570c1a2cbb5f6cd133d2d5252fc6cd81af2f69 /recipes-navigation/gpsd/gpsd-3.16/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch | |
parent | fbfed99855e364a4775f33df883eb21cc4e0a278 (diff) | |
download | meta-mlinux-atmel-9e667ff529b65eac316b4f66c4ae37ed835b7138.tar.gz meta-mlinux-atmel-9e667ff529b65eac316b4f66c4ae37ed835b7138.tar.bz2 meta-mlinux-atmel-9e667ff529b65eac316b4f66c4ae37ed835b7138.zip |
Add gpsd 3.16 bitbake recipe
Diffstat (limited to 'recipes-navigation/gpsd/gpsd-3.16/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch')
-rw-r--r-- | recipes-navigation/gpsd/gpsd-3.16/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd-3.16/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch b/recipes-navigation/gpsd/gpsd-3.16/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch new file mode 100644 index 0000000..82ac5aa --- /dev/null +++ b/recipes-navigation/gpsd/gpsd-3.16/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch @@ -0,0 +1,25 @@ +From c30716be9e615513fe66993fd3cdc818c3d70410 Mon Sep 17 00:00:00 2001 +From: "Gary E. Miller" <gem@rellim.com> +Date: Sun, 15 Mar 2015 11:51:45 -0700 +Subject: [PATCH 1/3] Check for __STDC_NO_ATOMICS__ before using stdatomic.h + +--- + SConstruct | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/SConstruct b/SConstruct +index adf473d..566c14a 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -633,7 +633,7 @@ else: + announce("You do not have kernel CANbus available.") + env["nmea2000"] = False + +- if config.CheckHeader("stdatomic.h"): ++ if not config.CheckCompilerDefines("__STDC_NO_ATOMICS__") and config.CheckHeader("stdatomic.h"): + confdefs.append("#define HAVE_STDATOMIC_H 1\n") + else: + confdefs.append("/* #undef HAVE_STDATOMIC_H */\n") +-- +2.1.0 + |