[opensuse-packaging] how to fix: File is compiled without RPM_OPT_FLAGS
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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Christian (chris@computersalat.de) [20090916 15:31]:
is this a false positive ? if not, how to fix it ?
No, but it seems like part of the code of proftpd is compiled without using CFLAGS/CXXFLAGS. You have to check the build log to see where in the calls to gcc/g++ the flags from RPM_OPT_FLAGS are missing and then check and possibly fix the Makefile(s). Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hallo Philipp, Philipp Thomas schrieb:
* Christian (chris@computersalat.de) [20090916 15:31]:
No, but it seems like part of the code of proftpd is compiled without using CFLAGS/CXXFLAGS. You have to check the build log to see where in the calls to gcc/g++ the flags from RPM_OPT_FLAGS are missing and then check and possibly fix the Makefile(s).
OK, thanks, will have a look at it. Chris
Philipp
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Christian
-
Philipp Thomas