rpmSetTables() call in rpmbuild has been dying long enough by now
- The call to rpmSetTables() from rpmbuild is simply redundant for all I can tell, it gets called from inside rpmrc/config processing with the same values and the extra call here never changes anything as the tables have already been set through rpmReadConfigFiles() whether building for several targets or not.
This commit is contained in:
parent
b542b2fbc6
commit
e76ba6f332
|
@ -367,10 +367,6 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
|
|||
int justRm = ((buildAmount & ~(RPMBUILD_RMSOURCE|RPMBUILD_RMSPEC)) == 0);
|
||||
rpmSpecFlags specFlags = spec_flags;
|
||||
|
||||
#ifndef DYING
|
||||
rpmSetTables(RPM_MACHTABLE_BUILDARCH, RPM_MACHTABLE_BUILDOS);
|
||||
#endif
|
||||
|
||||
if (ba->buildRootOverride)
|
||||
buildRootURL = rpmGenPath(NULL, ba->buildRootOverride, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue