File acpidump-override-CFLAGS.patch of Package acpica

Make it possible to extend CFLAGS when invoking make

From: Thomas Renninger <trenn@suse.de>

---
 acpidump/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: acpica-unix-20110413/acpidump/Makefile
===================================================================
--- acpica-unix-20110413.orig/acpidump/Makefile
+++ acpica-unix-20110413/acpidump/Makefile
@@ -1,7 +1,7 @@
 PROG= acpidump
 SRCS=	acpidump.c
 KERNEL_INCLUDE := ../include
-CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 
+override CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
 
 all: acpidump
 $(PROG) : $(SRCS)
openSUSE Build Service is sponsored by