X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ltcf-c.sh;h=d60a3baa19bc13295706d4471e0d6fcad7b8aac5;hb=0d0e1a63ef41342561755ff20bad14d778925152;hp=ea6a31f4c4eb56be32cf401515e8846caf3b6ef4;hpb=4867be4168ffab5aa3afecbe6473e429090ceace;p=binutils-gdb.git diff --git a/ltcf-c.sh b/ltcf-c.sh index ea6a31f4c4e..d60a3baa19b 100644 --- a/ltcf-c.sh +++ b/ltcf-c.sh @@ -108,7 +108,7 @@ EOF extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //; p; }" -e d < $0 > $output_objdir/impgen.c~ test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ + if test "x$BUILD_CC" != "x" ; then $BUILD_CC -o impgen impgen.c ; \ else $CC -o impgen impgen.c ; fi)~ $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'