diff options
| author | Jason Reiss <jreiss@multitech.com> | 2017-01-17 14:32:25 -0600 |
|---|---|---|
| committer | Jason Reiss <jreiss@multitech.com> | 2017-01-17 14:32:25 -0600 |
| commit | bf44a677041abcef9f224de290fcd5ad4cf37ea8 (patch) | |
| tree | 263308ac22db5128374d26c857d12d1a79a251e8 /recipes-navigation/gpsd/gpsd-3.14/0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch | |
| parent | e16cbd0bf5b2985cd78a26a82868d5cd3eb96da2 (diff) | |
| parent | 3959907c3a6a8d78368de3c624155260a2d418fe (diff) | |
| download | meta-mlinux-bf44a677041abcef9f224de290fcd5ad4cf37ea8.tar.gz meta-mlinux-bf44a677041abcef9f224de290fcd5ad4cf37ea8.tar.bz2 meta-mlinux-bf44a677041abcef9f224de290fcd5ad4cf37ea8.zip | |
Merge branch 'master' of gitlab.multitech.net:mirrors/meta-mlinux
Diffstat (limited to 'recipes-navigation/gpsd/gpsd-3.14/0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch')
| -rw-r--r-- | recipes-navigation/gpsd/gpsd-3.14/0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd-3.14/0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch b/recipes-navigation/gpsd/gpsd-3.14/0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch new file mode 100644 index 0000000..8bb0928 --- /dev/null +++ b/recipes-navigation/gpsd/gpsd-3.14/0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch @@ -0,0 +1,26 @@ +From 674c50ee54fd7cd304e8b3c4b33d3ff1272ed191 Mon Sep 17 00:00:00 2001 +From: "Gary E. Miller" <gem@rellim.com> +Date: Sun, 15 Mar 2015 12:17:51 -0700 +Subject: [PATCH 3/3] Whoops, check for C11, not for not C11 in stdatomic.h + test. + +--- + SConstruct | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/SConstruct b/SConstruct +index faa8651..f4ea145 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -650,7 +650,7 @@ else: + + # check for C11 or better, and __STDC__NO_ATOMICS__ is no defined + # before looking for stdatomic.h +- if not config.CheckC11() and not config.CheckCompilerDefines("__STDC_NO_ATOMICS__") and config.CheckHeader("stdatomic.h"): ++ if config.CheckC11() and 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 + |
