[oe-commits] [meta-openembedded] 16/38: fftw: Add -D_GNU_SOURCE to CFLAGS

git at git.openembedded.org git at git.openembedded.org
Mon Apr 24 09:03:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 5dba3ddf794e6670029182e4e31b32c6ac500ead
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Apr 11 14:05:35 2017 -0700

    fftw: Add -D_GNU_SOURCE to CFLAGS
    
    Helps fix build on musl
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-support/fftw/fftw_3.3.6.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/fftw/fftw_3.3.6.bb b/meta-oe/recipes-support/fftw/fftw_3.3.6.bb
index 5599851..ed14e16 100644
--- a/meta-oe/recipes-support/fftw/fftw_3.3.6.bb
+++ b/meta-oe/recipes-support/fftw/fftw_3.3.6.bb
@@ -19,6 +19,8 @@ PROVIDES = "fftwl fftwf"
 
 EXTRA_OECONF = "--disable-fortran --enable-shared --enable-threads"
 
+CFLAGS += "-D_GNU_SOURCE"
+
 FFTW_NEON = "${@bb.utils.contains('TUNE_FEATURES', 'neon', '--enable-neon', '', d)}"
 FFTW_NEON_class-native = ""
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list