summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-23 17:14:28 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-23 17:14:28 +0000
commit56ff20fe2e98022b2b5f8342d49f48bc1853a9bc (patch)
tree0aad587cee51b10e6049138c4bfdfb3c460a1669 /configure
parent8568c522feb4c7e0ae3b11b5c688d1bd31f74aeb (diff)
downloadmpv-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-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 1aeae1a219..f6ee0528b0 100755
--- a/configure
+++ b/configure
@@ -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"