diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-09-10 23:52:53 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-09-10 23:56:00 -0700 |
| commit | c93f66d65a333dee1bd7b8dbb776ceedc715cf86 (patch) | |
| tree | be53083341f95b3419fd4a5b804d2490d2a7d1dc | |
| parent | cb4d681228fe792bbd09814ce69ee418c57346dd (diff) | |
| download | meta-openembedded-c93f66d65a333dee1bd7b8dbb776ceedc715cf86.tar.gz | |
safec: Define _GNU_SOURCE
musl does not define this variable automatically but safec does provide
wrapper for some GNU extentions as well e.g.
error: implicit declaration of function 'localtime_r' is invalid in C99
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-core/safec/safec_3.4.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/safec/safec_3.4.bb b/meta-oe/recipes-core/safec/safec_3.4.bb index b4c125faf4..cc1fbcb735 100644 --- a/meta-oe/recipes-core/safec/safec_3.4.bb +++ b/meta-oe/recipes-core/safec/safec_3.4.bb | |||
| @@ -10,6 +10,8 @@ S = "${WORKDIR}/git" | |||
| 10 | SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" | 10 | SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" |
| 11 | SRC_URI = "git://github.com/rurban/safeclib.git" | 11 | SRC_URI = "git://github.com/rurban/safeclib.git" |
| 12 | 12 | ||
| 13 | CPPFLAGS_append_libc-musl = " -D_GNU_SOURCE" | ||
| 14 | |||
| 13 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm).*-linux' | 15 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm).*-linux' |
| 14 | 16 | ||
| 15 | RDEPENDS_${PN} = "perl" | 17 | RDEPENDS_${PN} = "perl" |
