SPECS: hddtemp.spec (HEAD)

Łukasz Jernaś deejay1 w nsj.srem.pl
Śro, 29 Paź 2003, 15:42:06 CET


Dnia Tue, 28 Oct 2003 17:19:09 +0100 (CET) użyszkodnik Paweł Gołaszewski
<blues w ds.pg.gda.pl> napisał:

> On Tue, 28 Oct 2003, deejay1 wrote:
> > Module name:	SPECS
> > Changes by:	deejay1	03/10/28 16:19:40
> > Modified files:
> > 	hddtemp.spec
> > Log message:
> > - ARCH is set by %configure
> > 
> > Index: hddtemp.spec
> > ===================================================================
> > RCS file: /cvsroot/SPECS/hddtemp.spec,v
> > diff -d -u -r1.15 -r1.16
> > --- hddtemp.spec	27 Oct 2003 15:59:23 -0000	1.15
> > +++ hddtemp.spec	28 Oct 2003 15:19:40 -0000	1.16
> > @@ -34,7 +34,7 @@
> >  %configure
> >  %{__make} \
> >  	CC="%{__cc}" \
> > -	CFLAGS="%{rpmcflags} -DARCH_I386" \
> > +	CFLAGS="%{rpmcflags}" \
> 
> Myślę, że akurat w tym przypadku nie jest.
> Inna sprawa, że te opcje muszą być %ifarch, ale to inna bajka.
> 

hddtemp.h:
//#ifdef ARCH_I386                                                      
//typedef unsigned short u16;    
//#endif

budowanie: 
if i686-pld-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I. -I. -I.. -I../intl -I../intl   -Wall
-fomit-frame-pointer -O2 -march=i686 -Wall -fomit-frame-pointer
-Wcast-align -MT hddtemp-db.o -MD -MP -MF ".deps/hddtemp-db.Tpo" \  -c
-o hddtemp-db.o `test -f 'db.c' || echo './'`db.c; \

Racja, nie jest...

-- 
Łukasz Jernaś
Mojej sygnaturki nadal nie odnalazłem...



Więcej informacji o liście dyskusyjnej pld-devel-pl