1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

Change -pipe check to avoid misdetecting it as available for Sun's compiler.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30295 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-01-12 21:12:23 +00:00
parent 06c2afa750
commit 977a21bea5

3
configure vendored
View File

@ -2415,7 +2415,8 @@ echocheck "assembler support of -pipe option"
cat > $TMPC << EOF
int main(void) { return 0; }
EOF
cc_check -pipe && _pipe="-pipe" && echores "yes" || echores "no"
# -I. helps to detect compilers that just misunderstand -pipe like Sun C
cc_check -pipe -I. && _pipe="-pipe" && echores "yes" || echores "no"
echocheck "compiler support of named assembler arguments"