Commit a9607af8 authored by Eric Petit's avatar Eric Petit

Fixed cc_check on OS X (gcc -o /dev/null always fails)


git-svn-id: svn://svn.videolan.org/x264/trunk@387 df754926-b1dd-0310-bc7b-ec298dee348c
parent b914f808
......@@ -27,9 +27,9 @@ cc_check() {
#include <$1>
int main () { return 0; }
EOF
$CC $CFLAGS $LDFLAGS $2 conftest.c -o $DEVNULL 2>$DEVNULL
$CC $CFLAGS $LDFLAGS $2 conftest.c -o conftest 2>$DEVNULL
TMP="$?"
rm -f conftest.c
rm -f conftest.c conftest
return $TMP
}
......
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