diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-lua.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpm-lua.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-lua.patch b/meta/recipes-devtools/rpm/rpm/rpm-lua.patch deleted file mode 100644 index a9930d6705..0000000000 --- a/meta/recipes-devtools/rpm/rpm/rpm-lua.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | Add support for cross compiling lua | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
6 | |||
7 | Index: rpm-5.4.14/configure.ac | ||
8 | =================================================================== | ||
9 | --- rpm-5.4.14.orig/configure.ac | ||
10 | +++ rpm-5.4.14/configure.ac | ||
11 | @@ -121,6 +121,9 @@ AC_PROG_YACC | ||
12 | |||
13 | AC_PATH_PROG(AS, as, as) | ||
14 | |||
15 | +CC_FOR_BUILD=${CC_FOR_BUILD-\$(CC)} | ||
16 | +AC_SUBST(CC_FOR_BUILD) | ||
17 | + | ||
18 | dnl # GCC specifics | ||
19 | AC_PROG_GCC_TRADITIONAL | ||
20 | AC_ARG_ENABLE(build-pic, | ||
21 | Index: rpm-5.4.14/lua/Makefile.am | ||
22 | =================================================================== | ||
23 | --- rpm-5.4.14.orig/lua/Makefile.am | ||
24 | +++ rpm-5.4.14/lua/Makefile.am | ||
25 | @@ -41,7 +41,7 @@ rpmluac_LDADD = liblua.la | ||
26 | |||
27 | # --- bin2c doesn't need anything but a compiler | ||
28 | bin2c$(EXEEXT): bin2c.c | ||
29 | - $(CC) -o $@ $< | ||
30 | + $(CC_FOR_BUILD) -o $@ $< | ||
31 | |||
32 | liblua_la_SOURCES = | ||
33 | liblua_la_CFLAGS = @WITH_LUA_SUBDIR_DEF@ | ||