Allow to disable inline assembly from configure

This is required for the -fsanitize options that don't
support inline assembly statements.
This commit is contained in:
Andrea Mazzoleni 2016-01-08 22:43:04 +01:00
parent 56a27b394f
commit 9430106c71
3 changed files with 46 additions and 23 deletions

View file

@ -75,8 +75,9 @@
/**
* Architecture.
* Architecture for inline assembly.
*/
#if HAVE_ASSEMBLY
#if defined(__i386__)
#define CONFIG_X86 1
#define CONFIG_X86_32 1
@ -86,6 +87,7 @@
#define CONFIG_X86 1
#define CONFIG_X86_64 1
#endif
#endif
/**
* Includes some platform specific headers.