Also don't define GNU_EFI_USE_MS_ABI as it causes the uefi_call_wrapper to
be undefined in objects that link to this library.
Change-Id: I8af734529afdd4bbd545d184886a633bd60acec1
Signed-off-by: William Douglas <william.douglas@intel.com>
CPPFLAGS = -DCONFIG_$(ARCH)
ifeq ($(GCCNEWENOUGH),1)
-CPPFLAGS += -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11
+CPPFLAGS += -maccumulate-outgoing-args --std=c11
endif
CFLAGS = $(ARCH3264) -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants
ASFLAGS = $(ARCH3264)
--- /dev/null
+Name: gnu-efi
+Version: 3.0
+Release: 1
+License: BSD-3-Clause
+Summary: EFI development environment
+Url: http://sourceforge.net/projects/gnu-efi/
+Group: System/Boot
+Source0: http://download.sourceforge.net/%{name}/%{name}_%{version}.orig.tar.gz
+BuildRequires: pciutils
+
+
+%description
+gnu-efi is a library for building EFI applications
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+make
+
+%install
+make install PREFIX=%{_prefix} INSTALLROOT=%{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_includedir}/efi/*
+%{_prefix}/lib/*