Re: CFLAGS for rpm

Stefan Fent <[email protected]> Wed, 25 Feb 2004 11:54:39 +0100
Newsgroups gmane.linux.lsb.implementation
Message-ID <[email protected]>
* Wichmann, Mats D <[email protected]> [040225 06:52]:
> 
> > Hi,
> > 
> > I need (at least for AMD64) '-fno-strict-aliasing'
> > in the CFLAGS of rpm.
> > 
> > My solution is to add this as <setenv> tag in rpm.xml.
> > Is this the way to go?
> > This would touch all archs (on all 64bit archs, it's probably
> > neccessary, though) 
> 
> explain why (curious)
> this should be fine, otherwise

I get lots of: 
'bzip2.c:557: warning: dereferencing type-punned pointer will break strict-ali
asing rules'
(I didn't see that in bzip2, just now grepping in my log, but in rpm I saw it 
during the compile)

> 
Stefan
-- 
Stefan Fent 
SuSE Linux AG, Maxfeldstr. 5, D-90409 Nuernberg