LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File build-arm.patch of Package gnu-efi (Project home:jejb1:UEFI)

Index: gnu-efi-3.0.3/Make.defaults
===================================================================
--- gnu-efi-3.0.3.orig/Make.defaults
+++ gnu-efi-3.0.3/Make.defaults
@@ -62,7 +62,7 @@ OBJCOPY      := $(prefix)$(CROSS_COMPILE
 
 # Host/target identification
 OS           := $(shell uname -s)
-HOSTARCH     := $(shell $(HOSTCC) -dumpmachine | cut -f1 -d- | sed s,i[3456789]86,ia32,)
+HOSTARCH     := $(shell $(HOSTCC) -dumpmachine | cut -f1 -d- | sed 's,i[3456789]86,ia32,;s,arm.*,arm,')
 ARCH         := $(HOSTARCH)
 
 # Get ARCH from the compiler if cross compiling 
Index: gnu-efi-3.0.3/lib/arm/setjmp.S
===================================================================
--- gnu-efi-3.0.3.orig/lib/arm/setjmp.S
+++ gnu-efi-3.0.3/lib/arm/setjmp.S
@@ -15,7 +15,7 @@ BASIS,
 	.text
 	.arm
 	.globl	setjmp
-	.type	setjmp, @function
+	.type	setjmp, STT_FUNC
 setjmp:
 	mov	r3, r13
 	stmia	r0, {r3-r12,r14}
@@ -23,6 +23,6 @@ setjmp:
 	bx	lr
 
 	.globl	longjmp
-	.type	longjmp, @function
+	.type	longjmp, STT_FUNC
 longjmp:
 	ldmia	r0, {r3-r12,r14}