diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-23 17:14:28 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-23 17:14:28 +0000 |
commit | 56ff20fe2e98022b2b5f8342d49f48bc1853a9bc (patch) | |
tree | 0aad587cee51b10e6049138c4bfdfb3c460a1669 /configure | |
parent | 8568c522feb4c7e0ae3b11b5c688d1bd31f74aeb (diff) | |
download | mpv-56ff20fe2e98022b2b5f8342d49f48bc1853a9bc.tar.bz2 mpv-56ff20fe2e98022b2b5f8342d49f48bc1853a9bc.tar.xz |
use CFLAGS when doing tests in configure, patch by Sylvain Petreolle <spetreolle@yahoo.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9669 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,9 +29,9 @@ cc_check() { echo >> "$TMPLOG" cat "$TMPC" >> "$TMPLOG" echo >> "$TMPLOG" - echo "$_cc $_inc_extra $_ld_static $_ld_extra $TMPC -o $TMPO $@" >> "$TMPLOG" + echo "$_cc $CFLAGS $_inc_extra $_ld_static $_ld_extra $TMPC -o $TMPO $@" >> "$TMPLOG" rm -f "$TMPO" - ( $_cc $_inc_extra $_ld_static $_ld_extra "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1 + ( $_cc $CFLAGS $_inc_extra $_ld_static $_ld_extra "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1 TMP="$?" echo >> "$TMPLOG" echo "ldd $TMPO" >> "$TMPLOG" |