I believe the defaults for that come from the redhat-rpm-config package
On Tue, Jun 3, 2014 at 12:19 PM, Ilya Storozhilov <[email protected]> wrote: > Hello Daniel, > > thank you for rapid response. "ceph.spec" file from the SRPM contains > following lines: > > ---------------------------------------------------------------------------------------------------- > ... > export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'` > > %{configure} CPPFLAGS="$java_inc" \ > --prefix=/usr \ > --localstatedir=/var \ > --sysconfdir=/etc \ > --docdir=%{_docdir}/ceph \ > --with-nss \ > --without-cryptopp \ > --with-rest-bench \ > --with-debug \ > --enable-cephfs-java \ > $MY_CONF_OPT \ > %{?_with_ocf} \ > CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" > ... > ---------------------------------------------------------------------------------------------------- > > So it seems, that this is up to packager what to put to RPM_OPT_FLAGS > environment variable on packaging. Maybe someone knows what particular value > is used? > Thank you! > > Best Regards, > Ilya Storozhilov > Lead Software Engineer > > EPAM Systems > Tver office, Russia > GMT+4 > > EPAM Internal ext.: 55529 > Office phone: +7 (4822) 630-070 ext. 55529 > Office fax: +7 (4822) 630-073 > Mobile phone: +7 (904) 021-0763 > E-mail: [email protected] > > http://www.epam.com > > CONFIDENTIALITY CAUTION AND DISCLAIMER > This message is intended only for the use of the individual(s) or entity(ies) > to which it is addressed and contains information that is legally privileged > and confidential. If you are not the intended recipient, or the person > responsible for delivering the message to the intended recipient, you are > hereby notified that any dissemination, distribution or copying of this > communication is strictly prohibited. All unintended recipients are obliged > to delete this message and destroy any printed copies. > > > ________________________________________ > От: [email protected] <[email protected]> от > имени Daniel Sterling <[email protected]> > Отправлено: 3 июня 2014 г. 20:06 > Кому: Ilya Storozhilov > Копия: [email protected] > Тема: Re: Official Ceph RPM build flags needed > > The compiler flags are in the source RPM, is that correct? > > > On Tue, Jun 3, 2014 at 11:56 AM, Ilya Storozhilov > <[email protected]> wrote: >> Hello Ceph-developers, >> >> at the moment we are doing some performance testing of Ceph v0.72.2 on >> ContOS 6.5, 64 bit. He have found, that Ceph from official RPM works faster >> that one which was compiled ourselves from sources. Do you know what >> compiler flags and configure options are actually used to build official >> Ceph PRM for CentOS? Maybe you can give an advise where to dig to find out >> what we need? :) >> >> Thank you very much! >> >> Best Regards, >> Ilya Storozhilov >> Lead Software Engineer >> >> EPAM Systems >> Tver office, Russia >> GMT+4 >> >> EPAM Internal ext.: 55529 >> Office phone: +7 (4822) 630-070 ext. 55529 >> Office fax: +7 (4822) 630-073 >> Mobile phone: +7 (904) 021-0763 >> E-mail: [email protected] >> >> http://www.epam.com >> >> CONFIDENTIALITY CAUTION AND DISCLAIMER >> This message is intended only for the use of the individual(s) or >> entity(ies) to which it is addressed and contains information that is >> legally privileged and confidential. If you are not the intended recipient, >> or the person responsible for delivering the message to the intended >> recipient, you are hereby notified that any dissemination, distribution or >> copying of this communication is strictly prohibited. All unintended >> recipients are obliged to delete this message and destroy any printed copies. >> >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to [email protected] >> More majordomo info at http://vger.kernel.org/majordomo-info.html > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
