aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch
blob: 64b7efac232cd1cb6a4fea422cc8f888f7db54d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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