Commit c36ed5a6 authored by mru's avatar mru

split compile and link in check_ld

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5722 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f0d9e9b3
......@@ -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(){
......
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