gnu-efi/gnu-efi-add-optflags-to-make-defaults.patch
Marcus Meissner 53807894eb Accepting request 128182 from home:malcolmlewis:branches:Base:System
Add additional RPM OPT FLAGS to Make.defaults to avoid brp check warning and spec file clean up and rename rpmlintrc file.

OBS-URL: https://build.opensuse.org/request/show/128182
OBS-URL: https://build.opensuse.org/package/show/Base:System/gnu-efi?expand=0&rev=6
2012-07-18 15:44:11 +00:00

13 lines
690 B
Diff

diff -Naur a/Make.defaults b/Make.defaults
--- a/Make.defaults 2012-04-30 10:35:44.000000000 -0500
+++ b/Make.defaults 2012-07-16 21:39:42.208929565 -0500
@@ -48,7 +48,7 @@
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
+CFLAGS = $(ARCH3264) -fmessage-length=0 -O2 -fpic -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fshort-wchar -fno-strict-aliasing -fno-merge-constants
ASFLAGS = $(ARCH3264)
LDFLAGS = -nostdlib
INSTALL = install