diff options
Diffstat (limited to 'yocto-poky/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch')
-rw-r--r-- | yocto-poky/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch b/yocto-poky/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch new file mode 100644 index 000000000..64b7efac2 --- /dev/null +++ b/yocto-poky/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch @@ -0,0 +1,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 |