Skip to content
Snippets Groups Projects
Commit 0607887f authored by Måns Rullgård's avatar Måns Rullgård
Browse files

split compile and link in check_ld

based on patch by Graham Booker <ffmpeglist at cod3r com>

Originally committed as revision 5722 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3ab60c83
No related branches found
No related tags found
No related merge requests found
......@@ -231,10 +231,9 @@ check_cpp(){
check_ld(){
log check_ld "$@"
cat >$TMPC
log_file $TMPC
log $cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs
$cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs >>$logfile 2>&1
check_cc || return
log $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs
$cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs >>$logfile 2>&1
}
check_cflags(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment