binutils: fix NameError from commit de8027 (#23715)

This commit is contained in:
eugeneswalker 2021-05-18 00:03:08 -07:00 committed by GitHub
parent f1c849ca0f
commit 4cd53cadb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ def setup_build_environment(self, env):
if self.spec.satisfies('%cce'):
env.append_flags('LDFLAGS', '-Wl,-z,muldefs')
if '+nls' in spec:
if '+nls' in self.spec:
env.append_flags('LDFLAGS', '-lintl')
def configure_args(self):