Commit 36fa4da3 authored by Vibhav Pant's avatar Vibhav Pant Committed by Alexandre Julliard

configure: Correctly derive the target from CC if it's set to an absolute path.

parent 9bca18e7
......@@ -10657,6 +10657,8 @@ then :
while test $# -ge 1
do
case "$1" in
*/*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
*/*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
*-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
*-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
esac
......
......@@ -882,6 +882,8 @@ do
while test $# -ge 1
do
case "$1" in
*/*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
*/*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
*-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
*-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment