comparison configure @ 30253:0fe4119d6115

Change -pipe check to avoid misdetecting it as available for Sun's compiler.
author reimar
date Tue, 12 Jan 2010 21:12:23 +0000
parents d383b93fa3f8
children 00300a5f2638
comparison
equal deleted inserted replaced
30252:cb4e9c35fa0c 30253:0fe4119d6115
2413 2413
2414 echocheck "assembler support of -pipe option" 2414 echocheck "assembler support of -pipe option"
2415 cat > $TMPC << EOF 2415 cat > $TMPC << EOF
2416 int main(void) { return 0; } 2416 int main(void) { return 0; }
2417 EOF 2417 EOF
2418 cc_check -pipe && _pipe="-pipe" && echores "yes" || echores "no" 2418 # -I. helps to detect compilers that just misunderstand -pipe like Sun C
2419 cc_check -pipe -I. && _pipe="-pipe" && echores "yes" || echores "no"
2419 2420
2420 2421
2421 echocheck "compiler support of named assembler arguments" 2422 echocheck "compiler support of named assembler arguments"
2422 _named_asm_args=yes 2423 _named_asm_args=yes
2423 def_named_asm_args="#define NAMED_ASM_ARGS 1" 2424 def_named_asm_args="#define NAMED_ASM_ARGS 1"