Skip to contentSkip to conversation

libxsettings-client: drop obsolete disable_Os_option.patch

PATCH New Andre McCurdy 1 participant 1 message Feb 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 .../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
meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch deleted +0 -19
deleted file mode 100644
index 64b7efa..0000000
@@ -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 <[email protected]>
-
-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
meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb +0 -1
index 670d9fc..67c5e27 100644
@@ -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 \
 "
 
Signature · 1 line
1.9.1