forked from Imagelibrary/rtems
Patch from David Fiddes <D.J.Fiddes@hw.ac.uk>. Comments below:
With a bit of help from Ralf I was able to trace the problem with sed. It
was a typo, sed should have had it's params surrounded by 's rather than "s
which bash picked up and discarded. The patch is enclosed.
Ralf and I aren't sure why configure didn't just stop at this point... The
rest of configure/build went OK because there are two sections where the
\\-for-/ hack is implemented and the other one is more important and worked
just fine.
This commit is contained in:
@@ -15,7 +15,7 @@ AC_DEFUN(RTEMS_GCC_PRINT,
|
||||
*cygwin32*)
|
||||
dnl FIXME: Hack for cygwin/egcs reporting mixed '\\' and '/'
|
||||
dnl Should be removed once cygwin/egcs reports '/' only
|
||||
$1=`$CC_FOR_TARGET --print-prog-name=$2 | sed -e "s%\\\\%/%g" `
|
||||
$1=`$CC_FOR_TARGET --print-prog-name=$2 | sed -e 's%\\\\%/%g' `
|
||||
;;
|
||||
*)
|
||||
$1=`$CC_FOR_TARGET --print-prog-name=$2`
|
||||
|
||||
Reference in New Issue
Block a user