Mercurial > mplayer.hg
comparison configure @ 32143:1203050ff67f
Use complete set of warning flags during compilation checks.
author | diego |
---|---|
date | Tue, 14 Sep 2010 09:08:31 +0000 |
parents | 4614728cab25 |
children | 7327d3c7e293 |
comparison
equal
deleted
inserted
replaced
32142:4614728cab25 | 32143:1203050ff67f |
---|---|
62 source="$1" | 62 source="$1" |
63 shift | 63 shift |
64 echo >> "$TMPLOG" | 64 echo >> "$TMPLOG" |
65 cat "$source" >> "$TMPLOG" | 65 cat "$source" >> "$TMPLOG" |
66 echo >> "$TMPLOG" | 66 echo >> "$TMPLOG" |
67 echo "$_cc $source $CFLAGS $extra_cflags $_ld_static $extra_ldflags $libs_mplayer $libs_mencoder -o $TMPEXE $@" >> "$TMPLOG" | 67 echo "$_cc $WARNFLAGS $WARN_CFLAGS $CFLAGS $source $extra_cflags $_ld_static $extra_ldflags $libs_mplayer $libs_mencoder -o $TMPEXE $@" >> "$TMPLOG" |
68 rm -f "$TMPEXE" | 68 rm -f "$TMPEXE" |
69 $_cc $CFLAGS "$source" $extra_cflags $_ld_static $extra_ldflags $libs_mplayer $libs_mencoder -o "$TMPEXE" "$@" >> "$TMPLOG" 2>&1 | 69 $_cc $WARNFLAGS $WARN_CFLAGS $CFLAGS "$source" $extra_cflags $_ld_static $extra_ldflags $libs_mplayer $libs_mencoder -o "$TMPEXE" "$@" >> "$TMPLOG" 2>&1 |
70 TMPRES="$?" | 70 TMPRES="$?" |
71 echo >> "$TMPLOG" | 71 echo >> "$TMPLOG" |
72 echo >> "$TMPLOG" | 72 echo >> "$TMPLOG" |
73 return "$TMPRES" | 73 return "$TMPRES" |
74 } | 74 } |