powertop/powertop_set_cflags_override.patch
OBS User autobuild 753fd43595 Accepting request 48784 from Base:System
Copy from Base:System/powertop based on submit request 48784 from user seife

OBS-URL: https://build.opensuse.org/request/show/48784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powertop?expand=0&rev=19
2010-09-23 23:00:24 +00:00

18 lines
482 B
Diff

---
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