diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-02-17 08:33:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-21 09:32:43 +0000 |
commit | ea8c34e976c11757ed9869c51b48f39050e25708 (patch) | |
tree | e2aa5bbe3d5c1a0da01b8416f4c80fd1b6c49d6b /meta/recipes-extended/newt/libnewt_0.52.18.bb | |
parent | 66a833a21c1fa600d31295799b0aabc281f40786 (diff) | |
download | poky-ea8c34e976c11757ed9869c51b48f39050e25708.tar.gz |
libnewt: Fix build with PIE flags
security flags add -pie -fpie to CFLAGS which is not
right options for compiling .so files, they are only
useful for compiling executables
(From OE-Core rev: 2735d096aef2d039d711c13c311bb6dba979f437)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/newt/libnewt_0.52.18.bb')
-rw-r--r-- | meta/recipes-extended/newt/libnewt_0.52.18.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/newt/libnewt_0.52.18.bb b/meta/recipes-extended/newt/libnewt_0.52.18.bb index 293c1a8a5a..9a2964be19 100644 --- a/meta/recipes-extended/newt/libnewt_0.52.18.bb +++ b/meta/recipes-extended/newt/libnewt_0.52.18.bb | |||
@@ -22,6 +22,7 @@ SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \ | |||
22 | file://fix_SHAREDDIR.patch \ | 22 | file://fix_SHAREDDIR.patch \ |
23 | file://cross_ar.patch \ | 23 | file://cross_ar.patch \ |
24 | file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \ | 24 | file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \ |
25 | file://pie-flags.patch \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | SRC_URI[md5sum] = "685721bee1a318570704b19dcf31d268" | 28 | SRC_URI[md5sum] = "685721bee1a318570704b19dcf31d268" |
@@ -37,6 +38,7 @@ CLEANBROKEN = "1" | |||
37 | 38 | ||
38 | export STAGING_INCDIR | 39 | export STAGING_INCDIR |
39 | export STAGING_LIBDIR | 40 | export STAGING_LIBDIR |
41 | export CPPFLAGS | ||
40 | 42 | ||
41 | export BUILD_SYS | 43 | export BUILD_SYS |
42 | export HOST_SYS | 44 | export HOST_SYS |