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