bug-mailfromd
Re: [Bug-mailfromd] upgrading from 8 .1x.x to 9.0
Marc <Marc@xxxxxxxxxxxxxxxxx> ha escrit:
> 52 DEFAULT_USER=%{userac} DEFAULT_EXPIRE_INTERVAL=604800 DEFAULT_SYSLOG_ASYNC=1 ./configure --prefix=%{_prefix} \
> 53 --localstatedir=/var/lib \
> 54 --sysconfdir=/etc/mailfromd \
> 55 --localstatedir=/var/lib \
> 56 --enable-syslog-async \
> 57 --enable-mfmod \
> 58 --with-gdbm \
> 59 --with-berkeley-db
These are mailfromd-specific settings and they look perfectly OK.
> FORTIFY_SOURCE requires compiling with optimization
And that's a completely different issue -- compiler settings. You have
included only 7 lines from your spec file, so I cannot say what compiler
options are being used, but the message above suggests that you have
-D_FORTIFY_SOURCE in your CPPFLAGS or its equivalent. In that case, you
will have to use -O option (e.g. -O2) in your CFLAGS. Please see the
guildelines on writing the spec files for details on how to do that
properly.
Kind regards,
Sergey