aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>2015-04-11 01:01:16 -0700
committerPalmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>2015-04-11 01:05:19 -0700
commit381a7a47b99bc7bf0c7dd8bc5e2908a01c7a7790 (patch)
tree768f9c197a44a8b3f08a467c3cb64017b4ffa683 /configure.ac
parent6a0927d7fd00b11019e48b059bc2e045b23d64db (diff)
downloadriscv-gnu-toolchain-381a7a47b99bc7bf0c7dd8bc5e2908a01c7a7790.zip
riscv-gnu-toolchain-381a7a47b99bc7bf0c7dd8bc5e2908a01c7a7790.tar.gz
riscv-gnu-toolchain-381a7a47b99bc7bf0c7dd8bc5e2908a01c7a7790.tar.bz2
Avoid wrapping GNU sed/awk on systems where that's the default
I have no idea why, but the installed "sed" wrapper never terminates on RHEL. If I don't use the wrappen the the tools build fine, so this just uses the already set autoconf variables to attempt to determine if the system sed/awk are gsed/gawk and if they are then this avoids using the wrappers. There's a few oddities here: * I have no idea why the sed wrapper fails, as it seems super safe. * I haven't run into any awk problems, but I figured I'd treat it the same as it isn't any harder. * We shouldn't have to support 10 year old distributions. Hopefully this doesn't break anyone's builds...
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 4ed4aad..55bab4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,7 +92,7 @@ AS_IF([test "x$enable_multilib" != xno],
[AC_SUBST(multilib_flags,--disable-multilib)])
AC_CONFIG_FILES([Makefile])
-AC_CONFIG_FILES([scripts/wrapper/awk], [chmod +x scripts/wrapper/awk])
-AC_CONFIG_FILES([scripts/wrapper/sed], [chmod +x scripts/wrapper/sed])
+AC_CONFIG_FILES([scripts/wrapper/awk/awk], [chmod +x scripts/wrapper/awk])
+AC_CONFIG_FILES([scripts/wrapper/sed/sed], [chmod +x scripts/wrapper/sed])
AC_OUTPUT