From ea7ab3e7b93bdd6085b916e98811c2c1c83d703d Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 23 Feb 2019 09:58:35 -0500 Subject: project: custom config: asm tests must invoke cfgtest_code_snippet_asm. --- project/config/cfgdefs.sh | 4 ++-- 1 file 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 -- cgit v1.2.3