diff options
author | midipix <writeonce@midipix.org> | 2019-02-23 09:58:35 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-23 10:08:46 -0500 |
commit | ea7ab3e7b93bdd6085b916e98811c2c1c83d703d (patch) | |
tree | f96d2ada9ce8fbeddc4548b448d7bf62b2bbcaf5 | |
parent | 98b935dd321fa2d4bce12f0d48c3ce4c043d3638 (diff) | |
download | sbpython2-ea7ab3e7b93bdd6085b916e98811c2c1c83d703d.tar.bz2 sbpython2-ea7ab3e7b93bdd6085b916e98811c2c1c83d703d.tar.xz |
project: custom config: asm tests must invoke cfgtest_code_snippet_asm.
-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 |