Use self when accessing extra_{CFLAGS,CXXFLAGS}

This commit is contained in:
Sergio Durigan Junior 2018-04-12 15:36:33 -04:00
parent dd8e49b83e
commit 02b3202867

View file

@ -1050,8 +1050,8 @@ The parameters of the class are:
if self.use_system_debuginfo: if self.use_system_debuginfo:
self.extra_conf_flags.append ('--with-separate-debug-dir=%s' % self.system_debuginfo_location) self.extra_conf_flags.append ('--with-separate-debug-dir=%s' % self.system_debuginfo_location)
self.extra_conf_flags.append ("CFLAGS=%s" % default_CFLAGS + ' '.join (extra_CFLAGS)) self.extra_conf_flags.append ("CFLAGS=%s" % default_CFLAGS + ' '.join (self.extra_CFLAGS))
self.extra_conf_flags.append ("CXXFLAGS=%s" % default_CXXFLAGS + ' '.join (extra_CXXFLAGS)) self.extra_conf_flags.append ("CXXFLAGS=%s" % default_CXXFLAGS + ' '.join (self.extra_CXXFLAGS))
self.extra_conf_flags.append (architecture_triplet) self.extra_conf_flags.append (architecture_triplet)
self.addStep (self.ConfigureClass (extra_conf_flags, haltOnFailure = True)) self.addStep (self.ConfigureClass (extra_conf_flags, haltOnFailure = True))