mirror of https://github.com/mpv-player/mpv
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:
parent
06c2afa750
commit
977a21bea5
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue