Yet another attempt to fix cc_check_define: make it only link, but not compile, the test code

svn-id: r48603
This commit is contained in:
Max Horn 2010-04-09 15:47:49 +00:00
parent 0768eda964
commit 982cf40067

3
configure vendored
View file

@ -199,7 +199,7 @@ int main(void) {
return 0; return 0;
} }
EOF EOF
cc_check cc_check -c
return $? return $?
} }
@ -1417,7 +1417,6 @@ if test -n "$_host"; then
DEFINES="$DEFINES -DUNIX -DGP2XWIZ -DNDEBUG" DEFINES="$DEFINES -DUNIX -DGP2XWIZ -DNDEBUG"
CXXFLAGS="$CXXFLAGS -mcpu=arm926ej-s -mtune=arm926ej-s" CXXFLAGS="$CXXFLAGS -mcpu=arm926ej-s -mtune=arm926ej-s"
ASFLAGS="$ASFLAGS -mfloat-abi=soft" ASFLAGS="$ASFLAGS -mfloat-abi=soft"
LDFLAGS="$LDFLAGS"
_need_memalign=yes _need_memalign=yes
add_line_to_config_mk 'USE_ARM_SOUND_ASM = 1' add_line_to_config_mk 'USE_ARM_SOUND_ASM = 1'
add_line_to_config_mk 'USE_ARM_SMUSH_ASM = 1' add_line_to_config_mk 'USE_ARM_SMUSH_ASM = 1'