diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2013-07-08 10:45:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-10 09:42:03 +0100 |
commit | b472553fa3668975f774fa88fb0da664c269f57d (patch) | |
tree | a1a1a2e8c003f90b3d06382a8d57c454e5e9e9a1 /meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb | |
parent | 258b8a2cb4178990fc20102add1e3043ac80dbf9 (diff) | |
download | ast2050-yocto-poky-b472553fa3668975f774fa88fb0da664c269f57d.zip ast2050-yocto-poky-b472553fa3668975f774fa88fb0da664c269f57d.tar.gz |
glib-2.0: add -march=i486 into CFLAGS automatically when needed.
glib configure will check if current gcc need -march=i486,
when gcc need -march=i486 but CFLAGS don't have,
glib configure will abort and advise the user to add -march=i486.
This will break the build process,it's not good for automatic build system.
so change this to adding -march=i486 automatically when it is needed.
(From OE-Core rev: fdd523e5a14cacf31dce4dae435267e30dff9222)
Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb index 463dc0d..1f784bd 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb @@ -13,6 +13,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ file://glib-2.0_fix_for_x32.patch \ file://fix-conflicting-rand.patch \ file://Makefile-ptest.patch \ + file://add-march-i486-into-CFLAGS-automatically.patch \ file://run-ptest \ " |