forked from Imagelibrary/binutils-gdb
* configure.in (CC): Get ^CC, not just any old CC, from
${host_makefile_frag}.
This commit is contained in:
@@ -134,7 +134,7 @@ fi
|
||||
# See if we can extract a definition of CC from the fragment.
|
||||
if [ -z "${CC}" ]; then
|
||||
if [ -n "${host_makefile_frag}" -a -f "${srcdir}/${host_makefile_frag}" ]; then
|
||||
CC=`sed -n -e 's/CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}`
|
||||
CC=`sed -n -e 's/^[ ]*CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}`
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user