mirror of https://gitlab.com/ita1024/waf.git
No one has ever used conf.as_needed()
This commit is contained in:
parent
e048bed13d
commit
9a46ff7558
|
@ -1105,7 +1105,7 @@ def add_as_needed(self):
|
|||
Add ``--as-needed`` to the *LINKFLAGS*
|
||||
"""
|
||||
if self.env.DEST_BINFMT == 'elf' and 'gcc' in (self.env.CXX_NAME, self.env.CC_NAME):
|
||||
self.env.append_unique('LINKFLAGS', '--as-needed')
|
||||
self.env.append_unique('LINKFLAGS', '-Wl,--as-needed')
|
||||
|
||||
# ============ parallel configuration
|
||||
|
||||
|
|
Loading…
Reference in New Issue