diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-06-05 15:47:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-09 17:12:13 +0100 |
commit | a9a5b6267f86f430c0c95c19fd41c1551baff627 (patch) | |
tree | ca0dd88be4097e9f277bd03baaa4d09bafb33272 /meta/recipes-devtools | |
parent | f1812e090b32f8c1bb33e4f26a246e5fb5e49c13 (diff) | |
download | poky-a9a5b6267f86f430c0c95c19fd41c1551baff627.tar.gz |
mkelfimage: Fix broken patch when building native
A change occured about a year ago that broke the native build, fix
that patch
[YOCTO #11590]
(From OE-Core rev: eb441e047498be42af9c8bf69edb1164360a61f1)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch b/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch index 756a65cd92..be547543dd 100644 --- a/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch +++ b/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch | |||
@@ -3,8 +3,11 @@ Let makefile find libz and zlib.h by CFLAGS and LDFLAGS. | |||
3 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 3 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
4 | Upstream-Status: Pending | 4 | Upstream-Status: Pending |
5 | --- | 5 | --- |
6 | configure.ac | 4 ++-- | ||
7 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
8 | |||
6 | diff --git a/configure.ac b/configure.ac | 9 | diff --git a/configure.ac b/configure.ac |
7 | index d1acc36..6f865b0 100644 | 10 | index 0f2ac72..f9099a2 100644 |
8 | --- a/configure.ac | 11 | --- a/configure.ac |
9 | +++ b/configure.ac | 12 | +++ b/configure.ac |
10 | @@ -62,7 +62,7 @@ AC_CHECK_PROG([RPM], rpm, rpm, [], [$PATH]) | 13 | @@ -62,7 +62,7 @@ AC_CHECK_PROG([RPM], rpm, rpm, [], [$PATH]) |
@@ -16,15 +19,15 @@ index d1acc36..6f865b0 100644 | |||
16 | 19 | ||
17 | dnl Find the default programs | 20 | dnl Find the default programs |
18 | if test "with_default" != no ; then | 21 | if test "with_default" != no ; then |
19 | @@ -175,7 +175,7 @@ fi | 22 | @@ -176,7 +176,7 @@ fi |
20 | |||
21 | dnl ---Output variables... | 23 | dnl ---Output variables... |
22 | 24 | ||
23 | -HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)" | 25 | CFLAGS="${CFLAGS:--O2} -Wall \$(CPPFLAGS)" |
24 | +HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS) $CFLAGS" | 26 | -HOST_CFLAGS="${HOST_CFLAGS:--O2} -Wall \$(HOST_CPPFLAGS)" |
27 | +HOST_CFLAGS="${HOST_CFLAGS:--O2} -Wall \$(HOST_CPPFLAGS) $CFLAGS" | ||
25 | 28 | ||
26 | dnl TODO: figure out how to set these appropriately for compilers other than gcc | 29 | dnl TODO: figure out how to set these appropriately for compilers other than gcc |
27 | I386_CFLAGS="$I386_CFLAGS -Os -ffreestanding -Wall -W -Wno-format \$(I386_CPPFLAGS)" | 30 | I386_CFLAGS="$I386_CFLAGS -Os -ffreestanding -Wall -W -Wno-format \$(I386_CPPFLAGS)" |
28 | -- | 31 | -- |
29 | 1.7.10.4 | 32 | 2.7.4 |
30 | 33 | ||