Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/elfix:elfix-0.5.x commit in: /, tests/gnustack/
Date: Sun, 29 Jul 2012 15:27:45
Message-Id: 1343575643.0a063eb50a55b8b405ed22e407eb1d3078370e30.blueness@gentoo
1 commit: 0a063eb50a55b8b405ed22e407eb1d3078370e30
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 29 01:16:22 2012 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 29 15:27:23 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=0a063eb5
7
8 tests/gnustack/Makefile.am: make sed line work on arm
9 (cherry picked from commit 8fa951f1421051e12778fd438856cd77864c2302)
10
11 ---
12 configure.ac | 1 +
13 tests/gnustack/Makefile.am | 2 +-
14 2 files changed, 2 insertions(+), 1 deletions(-)
15
16 diff --git a/configure.ac b/configure.ac
17 index 23d9fd7..a2a7f5a 100644
18 --- a/configure.ac
19 +++ b/configure.ac
20 @@ -54,6 +54,7 @@ AC_ARG_ENABLE(
21 # Checks for programs.
22 AC_PROG_AWK
23 AC_PROG_CC
24 +AC_PROG_SED
25
26 # Checks for libraries.
27 AC_CHECK_LIB([elf], [elf_begin],[],[AC_MSG_ERROR(["Missing necessary function elf_begin in libelf"])])
28
29 diff --git a/tests/gnustack/Makefile.am b/tests/gnustack/Makefile.am
30 index a1dc24b..6f5f569 100644
31 --- a/tests/gnustack/Makefile.am
32 +++ b/tests/gnustack/Makefile.am
33 @@ -2,7 +2,7 @@ noinst_PROGRAMS = bad-gnustack
34
35 bad-gnustack.s: bad-gnustack.c
36 $(CC) -S $<
37 - sed -i -e 's/GNU-stack,"",@progbits/GNU-stack,"x",@progbits/' $@
38 + $(SED) -i -e 's/GNU-stack,"",/GNU-stack,"x",/' $@
39
40 bad-gnustack: bad-gnustack.s
41 $(CC) -o $@ $<