diff options
author | 2012-07-28 21:16:22 -0400 | |
---|---|---|
committer | 2012-07-28 21:16:30 -0400 | |
commit | 8fa951f1421051e12778fd438856cd77864c2302 (patch) | |
tree | 857581f5068edc00af8fe1d3c5c1cbb004b411ca | |
parent | tests/gnustack/Makefile.am: clean *.s files as well (diff) | |
download | elfix-8fa951f1421051e12778fd438856cd77864c2302.tar.gz elfix-8fa951f1421051e12778fd438856cd77864c2302.tar.bz2 elfix-8fa951f1421051e12778fd438856cd77864c2302.zip |
tests/gnustack/Makefile.am: make sed line work on arm
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | tests/gnustack/Makefile.am | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 987b20a..75a09b7 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,7 @@ AC_ARG_ENABLE( # Checks for programs. AC_PROG_AWK AC_PROG_CC +AC_PROG_SED # Checks for libraries. AC_CHECK_LIB([elf], [elf_begin],[],[AC_MSG_ERROR(["Missing necessary function elf_begin in libelf"])]) diff --git a/tests/gnustack/Makefile.am b/tests/gnustack/Makefile.am index a1dc24b..6f5f569 100644 --- a/tests/gnustack/Makefile.am +++ b/tests/gnustack/Makefile.am @@ -2,7 +2,7 @@ noinst_PROGRAMS = bad-gnustack bad-gnustack.s: bad-gnustack.c $(CC) -S $< - sed -i -e 's/GNU-stack,"",@progbits/GNU-stack,"x",@progbits/' $@ + $(SED) -i -e 's/GNU-stack,"",/GNU-stack,"x",/' $@ bad-gnustack: bad-gnustack.s $(CC) -o $@ $< |