summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/ltp/ltp_20180515.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20180515.bb b/meta/recipes-extended/ltp/ltp_20180515.bb
index b07c1b9268..21ff49830a 100644
--- a/meta/recipes-extended/ltp/ltp_20180515.bb
+++ b/meta/recipes-extended/ltp/ltp_20180515.bb
@@ -19,6 +19,13 @@ LIC_FILES_CHKSUM = "\
19DEPENDS = "attr libaio libcap acl openssl zip-native" 19DEPENDS = "attr libaio libcap acl openssl zip-native"
20DEPENDS_append_libc-musl = " fts " 20DEPENDS_append_libc-musl = " fts "
21EXTRA_OEMAKE_append_libc-musl = " LIBC=musl " 21EXTRA_OEMAKE_append_libc-musl = " LIBC=musl "
22
23# since ltp contains x86-64 assembler which uses the frame-pointer register,
24# set -fomit-frame-pointer x86-64 to handle cases where optimisation
25# is set to -O0 or frame pointers have been enabled by -fno-omit-frame-pointer
26# earlier in CFLAGS, etc.
27CFLAGS_append_x86-64 = " -fomit-frame-pointer"
28
22CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__" 29CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__"
23CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" 30CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
24SRCREV = "96cbf48313afa65ef4d693d3441cbfd60a8d9b27" 31SRCREV = "96cbf48313afa65ef4d693d3441cbfd60a8d9b27"