From: Marcin Krol Date: Thu, 28 Jul 2016 16:26:19 +0000 (+0000) Subject: - fix rpm opts X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=4a6c661ef234c5b3c364d64da6405bb203f7959f;p=tld-builder.git - fix rpm opts --- diff --git a/TLD_Builder/rpm_builder.py b/TLD_Builder/rpm_builder.py index 12cc265..a2ec562 100644 --- a/TLD_Builder/rpm_builder.py +++ b/TLD_Builder/rpm_builder.py @@ -227,7 +227,7 @@ def build_rpm(r, b): if r.max_jobs > 0: max_jobs = max(min(config.max_jobs, r.max_jobs), 1) cmd = "set -ex; : build-id: %(r_id)s; TMPDIR=%(tmpdir)s exec nice -n %(nice)s " \ - "rpmbuild -bb --define '_smp_mflags -j%(max_jobs)d' --define '_make_opts -Otarget' --define '_tld_builder 1' %(rpmdefs)s %(topdir)s/%(spec)s" % { + "rpmbuild -bb --define '_smp_mflags -j%(max_jobs)d' --define '_tld_builder 1' %(rpmdefs)s %(topdir)s/%(spec)s" % { 'r_id' : r.id, 'tmpdir': tmpdir, 'nice' : config.nice,