logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0003-Don-t-use-inline-asm-on-non-GNU-compilers.patch (689B)


  1. From 613de00de55805f1c27b40ad14aae8cc2b81f7eb Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Wed, 3 Jul 2019 18:27:09 -0700
  4. Subject: [PATCH] Don't use inline asm on non-GNU compilers
  5. ---
  6. include/local.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/include/local.h b/include/local.h
  9. index 512e4455..a314468b 100644
  10. --- a/include/local.h
  11. +++ b/include/local.h
  12. @@ -290,7 +290,7 @@ extern snd_lib_error_handler_t snd_err_msg;
  13. #define ASM_NAME(name) __SYMBOL_PREFIX name
  14. -#ifdef HAVE_GNU_LD
  15. +#if defined(HAVE_GNU_LD) && defined(__GNUC__)
  16. # ifdef HAVE_ELF
  17. /* We want the .gnu.warning.SYMBOL section to be unallocated. */
  18. --
  19. 2.44.0