diff options
Diffstat (limited to 'project')
-rw-r--r-- | project/config/cfgdefs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh index f656f49..4b5fab9 100644 --- a/project/config/cfgdefs.sh +++ b/project/config/cfgdefs.sh @@ -200,7 +200,7 @@ cfgdefs_perform_common_tests() mb_code_snippet="$mb_code_snippet "'{__asm__ __volatile__ ("fnstcw pcw");' mb_code_snippet="$mb_code_snippet "' __asm__ __volatile__ ("fldcw pcw");}' - if cfgtest_code_snippet "$mb_code_snippet"; then + if cfgtest_code_snippet_asm "$mb_code_snippet"; then cfgtest_cflags_append '-DHAVE_GCC_ASM_FOR_X87' fi @@ -209,7 +209,7 @@ cfgdefs_perform_common_tests() mb_code_snippet="$mb_code_snippet "'void fn(void)' mb_code_snippet="$mb_code_snippet "'{__asm__ __volatile__ ("callq *%rax");}' - if cfgtest_code_snippet "$mb_code_snippet"; then + if cfgtest_code_snippet_asm "$mb_code_snippet"; then cfgtest_cflags_append '-DHAVE_GCC_ASM_FOR_X64' fi |