libxsettings-client: drop obsolete disable_Os_option.patch

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

(From OE-Core rev: a3335137c2895e8167d174308dacc0a649896a11)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andre McCurdy 2016-02-02 13:59:35 -08:00 committed by Richard Purdie
parent 789463333f
commit 6251846f45
2 changed files with 0 additions and 20 deletions

View File

@ -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@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

View File

@ -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 \
"