forked from pool/powertop
6f86f68387
Update to powertop 1.98 (forwarded request 102454 from a_jaeger) OBS-URL: https://build.opensuse.org/request/show/102498 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powertop?expand=0&rev=23
26 lines
1022 B
Diff
26 lines
1022 B
Diff
Index: powertop-1.98/Makefile
|
|
===================================================================
|
|
--- powertop-1.98.orig/Makefile
|
|
+++ powertop-1.98/Makefile
|
|
@@ -2,9 +2,9 @@ all: powertop po/powertop.pot
|
|
|
|
VERSION := 1.98
|
|
|
|
-CFLAGS += -Wall -O2 -g -fno-omit-frame-pointer -fstack-protector -Wshadow -Wformat -D_FORTIFY_SOURCE=2
|
|
+override CFLAGS += -Wall -O2 -g -fno-omit-frame-pointer -fstack-protector -Wshadow -Wformat -D_FORTIFY_SOURCE=2
|
|
CPPFLAGS += -Wall -O2 -g -fno-omit-frame-pointer
|
|
-CXXFLAGS += -Wall -O2 -g -fno-omit-frame-pointer -fstack-protector -Wshadow -Wformat -D_FORTIFY_SOURCE=2
|
|
+override CXXFLAGS += -Wall -O2 -g -fno-omit-frame-pointer -fstack-protector -Wshadow -Wformat -D_FORTIFY_SOURCE=2
|
|
PKG_CONFIG ?= pkg-config
|
|
|
|
OBJS := lib.o main.o display.o html.o devlist.o
|
|
@@ -90,7 +90,7 @@ css.h: csstoh powertop.css
|
|
%.o: %.cpp lib.h css.h Makefile
|
|
@echo " CC $<"
|
|
@[ -x /usr/bin/cppcheck ] && /usr/bin/cppcheck -q $< || :
|
|
- @$(CC) $(CFLAGS) -c -o $@ $<
|
|
+ $(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
|
|
uptrans:
|