mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
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:
parent
56a27b394f
commit
9430106c71
3 changed files with 46 additions and 23 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue