Dirk Mueller 2012-11-07 16:29:44 +00:00 committed by Git OBS Bridge
parent 7e6a049a41
commit b5c755cf4b
2 changed files with 0 additions and 17 deletions

View File

@ -1,14 +0,0 @@
Index: gnu-efi-3.0/Make.defaults
===================================================================
--- gnu-efi-3.0.orig/Make.defaults
+++ gnu-efi-3.0/Make.defaults
@@ -48,7 +48,8 @@ ARCH := $(shell uname -m | sed s,i[34
OS = $(shell uname -s)
INCDIR = -I$(SRCDIR) -I$(TOPDIR)/inc -I$(TOPDIR)/inc/$(ARCH) -I$(TOPDIR)/inc/protocol
CPPFLAGS = -DCONFIG_$(ARCH)
-CFLAGS = $(ARCH3264) -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants
+OPTFLAGS = -O2 -g
+CFLAGS = $(ARCH3264) $(OPTFLAGS) -fpic -fshort-wchar -fno-strict-aliasing -fno-merge-constants
ASFLAGS = $(ARCH3264)
LDFLAGS = -nostdlib
INSTALL = install

View File

@ -25,8 +25,6 @@ Group: Development/Libraries/Other
Url: http://sourceforge.net/projects/gnu-efi
Source: http://downloads.sourceforge.net/gnu-efi/gnu-efi_3.0q.orig.tar.gz
Source1: %{name}-rpmlintrc
# PATCH-FIX-OPENSUSE gnu-efi-add-optflags-to-make-defaults.patch malcolmlewis@opensuse.org -- Add additional RPM OPT FLAGS to Make.defaults to avoid brp check warning.
Patch0: gnu-efi-add-optflags-to-make-defaults.patch
BuildRequires: kernel-source
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: ia64 %ix86 x86_64
@ -43,7 +41,6 @@ Authors:
%prep
%setup -q -n gnu-efi-3.0
%patch0 -p1
%build
##########################