[OE-core] [PATCH] libxsettings-client: drop obsolete disable_Os_option.patch

Andre McCurdy armccurdy at gmail.com
Tue Feb 2 21:59:35 UTC 2016


This patch to configure.ac to change the default CFLAGS from -Os to
-O2 was added in 2010 as a workaround for a ppc specific bug which
affected gcc 4.5.x:

  http://git.openembedded.org/openembedded-core/commit/?id=ce456306dad3fdf42494830011dacae213c48edf

The bug in gcc was fixed upstream in gcc 4.6.x and backported to the
gcc 4.5.1 recipe in oe-core, making disable_Os_option.patch obsolete.

  http://git.openembedded.org/openembedded-core/commit/?id=0fabe078a31591f41c3fdabe5aa9de1111ef82c7
  http://git.openembedded.org/openembedded-core/commit/?id=fef385e37e82a0eec743fbd1da11021b9e7158b5

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 .../libxsettings-client/disable_Os_option.patch       | 19 -------------------
 .../libxsettings-client/libxsettings-client_0.10.bb   |  1 -
 2 files changed, 20 deletions(-)
 delete mode 100644 meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch

diff --git a/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch b/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch
deleted file mode 100644
index 64b7efa..0000000
--- a/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Upstream-Status: Inappropriate [configuration]
-
-Do not set Os optimization in target APP CFLAGS, since it may have potential
-error if "--enable-target-optspace" is not set when configuring GCC.
-
-Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
-
-diff -ruN Xsettings-client-0.10-orig/configure.ac Xsettings-client-0.10/configure.ac
---- Xsettings-client-0.10-orig/configure.ac	2010-09-21 14:01:47.000000000 +0800
-+++ Xsettings-client-0.10/configure.ac	2010-09-21 14:02:01.000000000 +0800
-@@ -3,7 +3,7 @@
- AM_INIT_AUTOMAKE(Xsettings-client, 0.10)
- AM_CONFIG_HEADER(config.h)
- 
--CFLAGS="-Os -Wall"
-+CFLAGS="-O2 -Wall"
- 
- # Checks for programs.
- AC_PROG_CC
diff --git a/meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb b/meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb
index 670d9fc..67c5e27 100644
--- a/meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb
+++ b/meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb
@@ -19,7 +19,6 @@ headers = "xsettings-common.h xsettings-client.h"
 SRC_URI = "http://downloads.yoctoproject.org/releases/matchbox/optional-dependencies/Xsettings-client-0.10.tar.gz \
         file://MIT-style-license \
         file://link-x11.patch;apply=yes \
-        file://disable_Os_option.patch \
         file://obsolete_automake_macros.patch \
 "
 
-- 
1.9.1




More information about the Openembedded-core mailing list