diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-04-15 19:00:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-21 07:20:24 +0100 |
commit | c94d444c79b5389dc28c6e3f2ef8c2ef2ee6f830 (patch) | |
tree | 41c2aa9a109b5ae5dfc25758719af524a36ec545 /meta/recipes-devtools/dosfstools/dosfstools_2.11.bb | |
parent | 5688e6c739767e65946d852edf695e871dcfbfc3 (diff) | |
download | poky-c94d444c79b5389dc28c6e3f2ef8c2ef2ee6f830.tar.gz |
dosfstools: Fix build with musl
We need to pass _GNU_SOURCE and include fcntl.h
Change-Id: Ice0597ddac3b275400880d85793ece4b300bec9b
(From OE-Core rev: 022a96c7a396bd6bbf499984f4ea8639111fe3b7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dosfstools/dosfstools_2.11.bb')
-rw-r--r-- | meta/recipes-devtools/dosfstools/dosfstools_2.11.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb b/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb index d1c24b8748..beec488c09 100644 --- a/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb +++ b/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb | |||
@@ -17,7 +17,9 @@ SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.src.tar.gz/407d4 | |||
17 | file://dosfstools-msdos_fs-types.patch \ | 17 | file://dosfstools-msdos_fs-types.patch \ |
18 | file://include-linux-types.patch \ | 18 | file://include-linux-types.patch \ |
19 | file://nofat32_autoselect.patch \ | 19 | file://nofat32_autoselect.patch \ |
20 | file://fix_populated_dosfs_creation.patch " | 20 | file://fix_populated_dosfs_creation.patch \ |
21 | file://0001-Include-fcntl.h-for-getting-loff_t-definition.patch \ | ||
22 | " | ||
21 | 23 | ||
22 | SRC_URI[md5sum] = "407d405ade410f7597d364ab5dc8c9f6" | 24 | SRC_URI[md5sum] = "407d405ade410f7597d364ab5dc8c9f6" |
23 | SRC_URI[sha256sum] = "0eac6d12388b3d9ed78684529c1b0d9346fa2abbe406c4d4a3eb5a023c98a484" | 25 | SRC_URI[sha256sum] = "0eac6d12388b3d9ed78684529c1b0d9346fa2abbe406c4d4a3eb5a023c98a484" |
@@ -26,6 +28,7 @@ SRC_URI[sha256sum] = "0eac6d12388b3d9ed78684529c1b0d9346fa2abbe406c4d4a3eb5a023c | |||
26 | # add this in here to for sure allow for big files. | 28 | # add this in here to for sure allow for big files. |
27 | # | 29 | # |
28 | CFLAGS_append = " -D_FILE_OFFSET_BITS=64" | 30 | CFLAGS_append = " -D_FILE_OFFSET_BITS=64" |
31 | CFLAGS_append_libc-musl = " -D_GNU_SOURCE" | ||
29 | 32 | ||
30 | do_install () { | 33 | do_install () { |
31 | oe_runmake "PREFIX=${D}" "SBINDIR=${D}${base_sbindir}" \ | 34 | oe_runmake "PREFIX=${D}" "SBINDIR=${D}${base_sbindir}" \ |