Small fix for powertop
bluebird
bluebird at mnet-online.de
Mon May 14 09:09:10 PDT 2007
Forgot to add:
"install -d ${DESTDIR}${BINDIR}" doesn't work on my system. I think it
should be "install powertop ${BINDIR}"
Cheers,
Friedrich
Am Montag, den 14.05.2007, 17:58 +0200 schrieb bluebird:
> If you define CC within the Makefile it has the same effect as using gcc
> directly.
>
> To compile you usually do:
>
> export CFLAGS="-xB -Ob2 -O3 -fomit-frame-pointer" #optional
> export LDFLAGS="-Wl,-O1" #optional
> export CC="icc" #optional (icc=intel c compiler)
> make
>
> if ${CC} isn't set make will use `cc` to compile. (all makes should do
> that, at least GNU make does)
>
> There's another question in my mind: Some people have defined their own
> custom cflags/ldflags like -O3 and -Wl,-O1. But the Makefile ignores
> them and uses -O2 -g instead. Is this intended(because other flags would
> break things)?
>
> Cheers,
> Friedrich
>
> Am Montag, den 14.05.2007, 08:15 -0700 schrieb Arjan van de Ven:
> > Pawel Golaszewski wrote:
> > > Hello,
> > >
> > > This is very small fix for building powertop:
> > > http://blues.gda.pl/SOURCES/powertop-make.patch
> > >
> > > It allows for real use of DESTDIR feature and allows to override gcc with
> > > something else.
> > >
> > > Please, apply.
> >
> > the patch didn't quite apply (I changed the Makefile since the 1.1
> > release) but I've manually put your changes in. Thanks for the feedback!
> > _______________________________________________
> > Power mailing list
> > Power at bughost.org
> > http://www.bughost.org/mailman/listinfo/power
> >
> _______________________________________________
> Power mailing list
> Power at bughost.org
> http://www.bughost.org/mailman/listinfo/power
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://www.bughost.org/pipermail/power/attachments/20070514/606bffa8/attachment.bin
More information about the Power
mailing list