mirror of
https://github.com/oasislinux/oasis.git
synced 2026-10-10 13:57:02 +02:00
26 lines
689 B
Diff
26 lines
689 B
Diff
From 613de00de55805f1c27b40ad14aae8cc2b81f7eb Mon Sep 17 00:00:00 2001
|
|
From: Michael Forney <mforney@mforney.org>
|
|
Date: Wed, 3 Jul 2019 18:27:09 -0700
|
|
Subject: [PATCH] Don't use inline asm on non-GNU compilers
|
|
|
|
---
|
|
include/local.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/include/local.h b/include/local.h
|
|
index 512e4455..a314468b 100644
|
|
--- a/include/local.h
|
|
+++ b/include/local.h
|
|
@@ -290,7 +290,7 @@ extern snd_lib_error_handler_t snd_err_msg;
|
|
|
|
#define ASM_NAME(name) __SYMBOL_PREFIX name
|
|
|
|
-#ifdef HAVE_GNU_LD
|
|
+#if defined(HAVE_GNU_LD) && defined(__GNUC__)
|
|
# ifdef HAVE_ELF
|
|
|
|
/* We want the .gnu.warning.SYMBOL section to be unallocated. */
|
|
--
|
|
2.44.0
|
|
|