powertop/powertop-respect-rpm-opt-flags-thoenig-01.patch

18 lines
423 B
Diff

--- powertop/Makefile 2007-05-11 21:27:34.000000000 +0200
+++ powertop/Makefile 2007-05-13 14:47:55.000000000 +0200
@@ -1,11 +1,11 @@
BINDIR=/usr/bin
powertop: powertop.c config.c Makefile
- gcc -Wall -W -O1 -g powertop.c config.c -o powertop
+ gcc ${CFLAGS} -Wall -W -O1 -g powertop.c config.c -o powertop
install: powertop
cp powertop ${BINDIR}
clean:
rm -f *~ powertop
-
\ No newline at end of file
+