diff options
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r-- | src/build-data/buildh.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index e943973a0..c84698804 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -199,8 +199,15 @@ Each read generates 32 bits of output %{target_compiler_defines} + +#if defined(__GNUG__) || defined(__clang__) + #define BOTAN_FUNC_ISA(isa) __attribute__ ((target(isa))) +#else + #define BOTAN_FUNC_ISA(isa) +#endif + /* -* Compile-time deprecatation warnings +* Compile-time deprecation warnings */ #if !defined(BOTAN_NO_DEPRECATED_WARNINGS) |