File acpica-override-CFLAGS.diff of Package acpica

Make it possible to extend CFLAGS when invoking make

From: Thomas Renninger <trenn@suse.de>

---
 source/compiler/Makefile         |    2 +-
 source/tools/acpiexec/Makefile   |    2 +-
 source/tools/acpisrc/Makefile    |    2 +-
 source/tools/acpixtract/Makefile |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Index: acpica-unix2-20120518/source/compiler/Makefile
===================================================================
--- acpica-unix2-20120518.orig/source/compiler/Makefile
+++ acpica-unix2-20120518/source/compiler/Makefile
@@ -231,7 +231,7 @@ MISC = \
 	prparser.y.h \
 	prparserparse.output
 
-CFLAGS+= \
+override CFLAGS+= \
     -D$(HOST) \
     -D_GNU_SOURCE \
     -DACPI_ASL_COMPILER \
Index: acpica-unix2-20120518/source/tools/acpiexec/Makefile
===================================================================
--- acpica-unix2-20120518.orig/source/tools/acpiexec/Makefile
+++ acpica-unix2-20120518/source/tools/acpiexec/Makefile
@@ -230,7 +230,7 @@ OBJECTS = \
 	utxface.o \
 	utxfmutex.o
 
-CFLAGS+= \
+override CFLAGS+= \
     -D$(HOST) \
     -D_GNU_SOURCE \
     -DACPI_EXEC_APP \
Index: acpica-unix2-20120518/source/tools/acpixtract/Makefile
===================================================================
--- acpica-unix2-20120518.orig/source/tools/acpixtract/Makefile
+++ acpica-unix2-20120518/source/tools/acpixtract/Makefile
@@ -60,7 +60,7 @@ OBJECTS = \
     axmain.o \
     getopt.o
 
-CFLAGS+= \
+override CFLAGS+= \
     -D$(HOST) \
     -D_GNU_SOURCE \
     -DACPI_XTRACT_APP \
Index: acpica-unix2-20120518/source/tools/acpisrc/Makefile
===================================================================
--- acpica-unix2-20120518.orig/source/tools/acpisrc/Makefile
+++ acpica-unix2-20120518/source/tools/acpisrc/Makefile
@@ -68,7 +68,7 @@ OBJECTS = \
     osunixdir.o \
     getopt.o
 
-CFLAGS+= \
+override CFLAGS+= \
     -D$(HOST) \
     -D_GNU_SOURCE \
     -DACPI_SRC_APP \