diff options
Diffstat (limited to 'meta/recipes-gnome/gnome/metacity/crosscompile.patch')
-rw-r--r-- | meta/recipes-gnome/gnome/metacity/crosscompile.patch | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/meta/recipes-gnome/gnome/metacity/crosscompile.patch b/meta/recipes-gnome/gnome/metacity/crosscompile.patch deleted file mode 100644 index 7a1942ab26..0000000000 --- a/meta/recipes-gnome/gnome/metacity/crosscompile.patch +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | This patch is revised version from openembed. It build host native binary | ||
2 | rather than target binary in cross-compile environment. | ||
3 | |||
4 | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Index: metacity-2.30.3/src/Makefile.am | ||
9 | =================================================================== | ||
10 | --- metacity-2.30.3.orig/src/Makefile.am 2010-09-05 00:09:52.000000000 +0800 | ||
11 | +++ metacity-2.30.3/src/Makefile.am 2010-12-31 11:15:31.000000000 +0800 | ||
12 | @@ -134,11 +134,9 @@ | ||
13 | metacity_theme_viewer_SOURCES= \ | ||
14 | ui/theme-viewer.c | ||
15 | |||
16 | -schema_bindings_SOURCES = \ | ||
17 | - core/schema-bindings.c \ | ||
18 | - metacity.schemas.in.in | ||
19 | +schema_bindings: | ||
20 | + @CC_FOR_BUILD@ core/schema-bindings.c -I./include -I../ @CFLAGS_FOR_BUILD@ @LDFLAGS_FOR_BUILD@ -o schema_bindings | ||
21 | |||
22 | -schema_bindings_LDADD = @METACITY_LIBS@ | ||
23 | metacity.schemas.in: schema_bindings ${srcdir}/metacity.schemas.in.in | ||
24 | @echo Generating keybinding schemas... ${srcdir}/metacity.schemas.in.in | ||
25 | ${builddir}/schema_bindings ${srcdir}/metacity.schemas.in.in ${builddir}/metacity.schemas.in | ||
26 | Index: metacity-2.30.3/configure.in | ||
27 | =================================================================== | ||
28 | --- metacity-2.30.3.orig/configure.in 2010-09-22 22:14:06.000000000 +0800 | ||
29 | +++ metacity-2.30.3/configure.in 2010-12-31 11:15:31.000000000 +0800 | ||
30 | @@ -31,6 +31,32 @@ | ||
31 | AC_LIBTOOL_WIN32_DLL | ||
32 | AM_PROG_LIBTOOL | ||
33 | |||
34 | +if test x"$CC_FOR_BUILD" = x; then | ||
35 | + if test x"$cross_compiling" = xyes; then | ||
36 | + AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc) | ||
37 | + else | ||
38 | + CC_FOR_BUILD="$CC" | ||
39 | + fi | ||
40 | +fi | ||
41 | +AC_SUBST([CC_FOR_BUILD]) | ||
42 | +if test x"$CFLAGS_FOR_BUILD" = x; then | ||
43 | + if test x"$cross_compiling" = xyes; then | ||
44 | + echo boo! | ||
45 | + else | ||
46 | + CFLAGS_FOR_BUILD="$CFLAGS" | ||
47 | + fi | ||
48 | +fi | ||
49 | +AC_SUBST([CFLAGS_FOR_BUILD]) | ||
50 | +if test x"$LDFLAGS_FOR_BUILD" = x; then | ||
51 | + if test x"$cross_compiling" = xyes; then | ||
52 | + echo boo! | ||
53 | + else | ||
54 | + LDFLAGS_FOR_BUILD="$LDFLAGS" | ||
55 | + fi | ||
56 | +fi | ||
57 | +AC_SUBST([LDFLAGS_FOR_BUILD]) | ||
58 | + | ||
59 | + | ||
60 | #### Integer sizes | ||
61 | |||
62 | AC_CHECK_SIZEOF(char) | ||