From a29329c38e50afd28d28c3a99e35d8774b9b19f8 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Nov 2012 01:32:19 -0800 Subject: Tue Nov 13 01:32:13 PST 2012 --- extra/gnu-efi-libs/disable-ms_abi-flag.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 extra/gnu-efi-libs/disable-ms_abi-flag.patch (limited to 'extra/gnu-efi-libs/disable-ms_abi-flag.patch') diff --git a/extra/gnu-efi-libs/disable-ms_abi-flag.patch b/extra/gnu-efi-libs/disable-ms_abi-flag.patch new file mode 100644 index 000000000..2fb61a1d7 --- /dev/null +++ b/extra/gnu-efi-libs/disable-ms_abi-flag.patch @@ -0,0 +1,16 @@ +diff --git a/Make.defaults b/Make.defaults +index 38da180..aa1f4de 100644 +--- a/Make.defaults ++++ b/Make.defaults +@@ -54,9 +54,9 @@ GCCNEWENOUGH := $(shell ([ $(GCCVERSION) -gt "4" ] || ([ $(GCCVERSION) -eq "4" ] + + CPPFLAGS = -DCONFIG_$(ARCH) + ifeq ($(GCCNEWENOUGH),1) +-CPPFLAGS += -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args ++CPPFLAGS += -maccumulate-outgoing-args + endif +-CFLAGS = $(ARCH3264) -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants ++CFLAGS = $(ARCH3264) -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-stack-protector -fno-merge-constants + ASFLAGS = $(ARCH3264) + LDFLAGS = -nostdlib + INSTALL = install -- cgit v1.2.3-54-g00ecf