diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-03-09 13:05:38 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-03-09 13:05:38 +0200 |
commit | e76ba6f332f8ae745a48e01bf3c2dc7d4b1b5cc4 (patch) | |
tree | af80601f0640059e6bd1ecaca35eeb8ed35a17d5 /rpmbuild.c | |
parent | b542b2fbc6b1897a911ec7c426c49a42ae307aa2 (diff) | |
download | rpm-e76ba6f332f8ae745a48e01bf3c2dc7d4b1b5cc4.tar.gz |
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.
Diffstat (limited to 'rpmbuild.c')
-rw-r--r-- | rpmbuild.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/rpmbuild.c b/rpmbuild.c index a338c3c36..bbe94ce62 100644 --- a/rpmbuild.c +++ b/rpmbuild.c @@ -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); |