diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-28 21:59:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-06 14:38:14 +0100 |
commit | d9a1adbb48c969cc6f3d50ad254542a9e498b0c4 (patch) | |
tree | 904353d1737ae8a5dae14dc3f0e3f709eb886046 /meta/recipes-gnome/epiphany/epiphany_3.24.2.bb | |
parent | ca3886ac9601c12d22e838c41f65fd886f8d4a45 (diff) | |
download | poky-d9a1adbb48c969cc6f3d50ad254542a9e498b0c4.tar.gz |
epiphany: Fix build errors when compiling with security flags
We need to have some level of optimization level for FORTIFY_SOURCE
to work therefore set --enable-debug=no
Add a patch to fix build error due to unused result of fread
(From OE-Core rev: 8d3bd6fbf748ad6f67bb2e86854d15f99a07bf87)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/epiphany/epiphany_3.24.2.bb')
-rw-r--r-- | meta/recipes-gnome/epiphany/epiphany_3.24.2.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-gnome/epiphany/epiphany_3.24.2.bb b/meta/recipes-gnome/epiphany/epiphany_3.24.2.bb index 77c19331cb..dafad8a793 100644 --- a/meta/recipes-gnome/epiphany/epiphany_3.24.2.bb +++ b/meta/recipes-gnome/epiphany/epiphany_3.24.2.bb | |||
@@ -9,11 +9,13 @@ DEPENDS = "libsoup-2.4 webkitgtk gtk+3 iso-codes avahi libnotify gcr \ | |||
9 | inherit gnomebase gsettings distro_features_check upstream-version-is-even gettext | 9 | inherit gnomebase gsettings distro_features_check upstream-version-is-even gettext |
10 | REQUIRED_DISTRO_FEATURES = "x11" | 10 | REQUIRED_DISTRO_FEATURES = "x11" |
11 | 11 | ||
12 | SRC_URI += "file://0001-yelp.m4-drop-the-check-for-itstool.patch" | 12 | SRC_URI += "file://0001-yelp.m4-drop-the-check-for-itstool.patch \ |
13 | file://0001-bookmarks-Check-for-return-value-of-fread.patch \ | ||
14 | " | ||
13 | SRC_URI[archive.md5sum] = "e035dc6f64f0c1909de823e03f16b2f3" | 15 | SRC_URI[archive.md5sum] = "e035dc6f64f0c1909de823e03f16b2f3" |
14 | SRC_URI[archive.sha256sum] = "5abc0d0c60591df5236ac9b8979dc9f7d9acbb8ad0902b4772d2b7beea81c58d" | 16 | SRC_URI[archive.sha256sum] = "5abc0d0c60591df5236ac9b8979dc9f7d9acbb8ad0902b4772d2b7beea81c58d" |
15 | 17 | ||
16 | EXTRA_OECONF += " --with-distributor-name=${DISTRO}" | 18 | EXTRA_OECONF += " --with-distributor-name=${DISTRO} --enable-debug=no" |
17 | 19 | ||
18 | do_configure_prepend() { | 20 | do_configure_prepend() { |
19 | sed -i -e s:help::g ${S}/Makefile.am | 21 | sed -i -e s:help::g ${S}/Makefile.am |