diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-12-05 17:01:49 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-12 21:50:18 +0000 |
commit | b9e3ddc42a5311a2b18d9899e19c98b6e7b25a49 (patch) | |
tree | b5a0ee2a6b71cd424eb6a483b6569fb52e7ab242 /meta/recipes-extended/findutils/findutils_4.4.2.bb | |
parent | 2e82fe131cf1650a0d1e1e6d23c5611064230a88 (diff) | |
download | poky-b9e3ddc42a5311a2b18d9899e19c98b6e7b25a49.tar.gz |
findutils: Fix compilation for x32 toolchain
Work around gnulib time_t assumption in findutils for x32
time_t is 64bit and long int is 32bit on x32. But gnulib used in
findutils assumes time_t values fit into long int. Such assumption is
invalid for x32 and should be removed.
This patch is a workaround to compile gnulib for x32.
(From OE-Core rev: 8a80a3510c65419a6fcd9e38ad3ef4234778b921)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-Off-By: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/findutils/findutils_4.4.2.bb')
-rw-r--r-- | meta/recipes-extended/findutils/findutils_4.4.2.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-extended/findutils/findutils_4.4.2.bb b/meta/recipes-extended/findutils/findutils_4.4.2.bb index cfc65465b8..c25ba4cd12 100644 --- a/meta/recipes-extended/findutils/findutils_4.4.2.bb +++ b/meta/recipes-extended/findutils/findutils_4.4.2.bb | |||
@@ -1,10 +1,11 @@ | |||
1 | require findutils.inc | 1 | require findutils.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | SRC_URI += "file://01-27017.patch \ | 5 | SRC_URI += "file://01-27017.patch \ |
6 | file://02-28824.patch \ | 6 | file://02-28824.patch \ |
7 | file://03-28872.patch" | 7 | file://03-28872.patch \ |
8 | file://findutils_fix_for_x32.patch " | ||
8 | 9 | ||
9 | SRC_URI[md5sum] = "351cc4adb07d54877fa15f75fb77d39f" | 10 | SRC_URI[md5sum] = "351cc4adb07d54877fa15f75fb77d39f" |
10 | SRC_URI[sha256sum] = "434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a" | 11 | SRC_URI[sha256sum] = "434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a" |