File powertop_set_cflags_override.patch of Package powertop

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

Index: powertop-1.13/Makefile
===================================================================
--- powertop-1.13.orig/Makefile
+++ powertop-1.13/Makefile
@@ -7,7 +7,7 @@ WARNFLAGS=-Wall -Wshadow -W -Wformat -Wi
 CFLAGS?=-O1 -g ${WARNFLAGS}
 CC?=gcc
 
-CFLAGS+=-D VERSION=\"$(VERSION)\"
+override CFLAGS+=-D VERSION=\"$(VERSION)\"
 
 # 
 # The w in -lncursesw is not a typo; it is the wide-character version
openSUSE Build Service is sponsored by