LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File grub2-ppc64le-18-ppc64-doesn-t-need-libgcc-routines.patch of Package grub2 (Project home:Ledest:bashisms)

From 8dc2290890dc8e1cf534b6e44ab44bab4d694da5 Mon Sep 17 00:00:00 2001
From: Anton Blanchard <anton@samba.org>
Date: Wed, 29 Jan 2014 10:49:12 +1100
Subject: [PATCH 18/23] ppc64 doesn't need libgcc routines

 ppc64 doesn't need libgcc routines

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
From: Anton Blanchard <anton@samba.org>
---
 include/grub/libgcc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/grub/libgcc.h b/include/grub/libgcc.h
index fdc6611..69a95bc 100644
--- a/include/grub/libgcc.h
+++ b/include/grub/libgcc.h
@@ -23,7 +23,7 @@
 #include <config-util.h>
 
 /* On x86 these functions aren't really needed. Save some space.  */
-#if !defined (__i386__) && !defined (__x86_64__)
+#if !defined (__i386__) && !defined (__x86_64__) && !defined (__powerpc64le__)
 # ifdef HAVE___ASHLDI3
 void EXPORT_FUNC (__ashldi3) (void);
 # endif
-- 
1.8.3.1