2011/5/13 Kalev Lember <kalev@xxxxxxxxxxxx>: > On 05/13/2011 03:51 PM, Sergio Belkin wrote: >> I'd want to know if makes sense disable dependecy tracking at build >> stage, I mean, put in spec file: >> >> ./configure --disable-dependency-tracking >> >> Because it speeds build. What do you think? > > We already have that in the %configure macro, which you should almost > always use instead of just calling ./configure: > > $ rpm -E %configure > [snip] > ./configure --build=x86_64-unknown-linux-gnu > --host=x86_64-unknown-linux-gnu \ > --program-prefix= \ > --disable-dependency-tracking \ > --prefix=/usr \ > --exec-prefix=/usr \ > --bindir=/usr/bin \ > --sbindir=/usr/sbin \ > --sysconfdir=/etc \ > --datadir=/usr/share \ > --includedir=/usr/include \ > --libdir=/usr/lib64 \ > --libexecdir=/usr/libexec \ > --localstatedir=/var \ > --sharedstatedir=/var/lib \ > --mandir=/usr/share/man \ > --infodir=/usr/share/info > > > Hope this helps, > Kalev Thanks Kalev, everyday one learn something new! However I've seen that mock when make a build for epel5 does not disable dependency tracking: DEBUG: + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-experimental=no --disable-static LDFLAGS=-L/usr/lib/mysql Is that right? Thanks in advance! -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com LPIC-2 Certified - http://www.lpi.org -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel