diff options
author | midipix <writeonce@midipix.org> | 2019-02-23 09:58:35 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-23 10:07:45 -0500 |
commit | 7d322b1e71380a6d66745d0098b75a19ab45411c (patch) | |
tree | 55ffcbb62c208d65989be6f443b4d67fadb0ab9a /project/config | |
parent | 1c672eb4a177f863cf66460fef3b7fb33695d5ca (diff) | |
download | sbpython3-7d322b1e71380a6d66745d0098b75a19ab45411c.tar.bz2 sbpython3-7d322b1e71380a6d66745d0098b75a19ab45411c.tar.xz |
project: custom config: asm tests must invoke cfgtest_code_snippet_asm.
Diffstat (limited to 'project/config')
-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 |