Mailinglist Archive: opensuse-packaging (220 mails)

< Previous Next >
[opensuse-packaging] how to fix: File is compiled without RPM_OPT_FLAGS
  • From: Christian <chris@xxxxxxxxxxxxxxxx>
  • Date: Wed, 16 Sep 2009 15:30:42 +0200
  • Message-id: <4AB0E882.4070505@xxxxxxxxxxxxxxxx>
Hi,

get this warning:
I: File is compiled without RPM_OPT_FLAGS
W: proftpd no-rpm-opt-flags <cmdline>

but in spec I have:
%build
PROFTPD_SHARED_MODS="$(for spec_mod in mod_load $(find contrib -name
mod_\*.c); do echo "$(basename ${spec_mod%%.c})"; done | tr '\n' ':' |
sed -e 's|:$||')"
export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED"
export CXXFLAGS="$CFLAGS"
%configure \

is this a false positive ?
if not, how to fix it ?

Kind Regards
Chris
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups