Logged In: YES
user_id=5895

Which CXXFLAGS do you use ?

I know I had to strip most of the default flags from RPM,
in order to make it compile correctly... Something like:

OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e
's/-fno-exceptions//g'`
# -mcpu makes libiberty fail to build, in GCC 3.4 *grr!*
OPT_FLAGS=`echo $OPT_FLAGS|%{__perl} -pe 's/ ?-mcpu=([^ ]+)//g'`