Hi, On Sun, May 30, 2010 at 12:12:17PM +0100, Timo Sirainen wrote: > On 30.5.2010, at 12.03, Brandon Davidson wrote: > > > If I '%define optflags -std=gnu99' in the spec it builds just fine, so I > > don't think it's a compiler problem. Maybe a libtool issue? > > Oh, the spec file overrides CFLAGS and doesn't contain -std=gnu99? >
The config.log for RHEL5/x86_64 says: CFLAGS='-std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include ' -- Axel.Thimm at ATrpms.net
pgppdTwRiMoD3.pgp
Description: PGP signature