]> code.ossystems Code Review - openembedded-core.git/commit
glew: Compile with -D_GNU_SOURCE
authorKhem Raj <raj.khem@gmail.com>
Sat, 6 May 2017 17:34:14 +0000 (17:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 May 2017 16:43:59 +0000 (17:43 +0100)
commit389b5f96af68439cc8e135a33f1e41116cb1d1aa
treebee2b6359428d9e16025eee1ffde4d77d1053f71
parent4f27e4042dfb39caa71c7c6eb0a327de6af4d563
glew: Compile with -D_GNU_SOURCE

Required with glibc 2.26
when x11 is not in distro features it errors
out due to mising CLOCK_REALTIME

 error: 'CLOCK_REALTIME' undeclared (first use in this function);
did you mean '_XOPEN_REALTIME'?
    if (clock_gettime(CLOCK_REALTIME, &ts) == -1)
                      ^~~~~~~~~~~~~~
                      _XOPEN_REALTIME

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/glew/glew_2.0.0.bb