3 # WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file
7 # Thomas Nagy, 2008-2018 (ita)
9 "Detect as/gas/gcc for compiling assembly files"
11 import waflib.Tools.asm # - leave this
12 from waflib.Tools import ar
16 Find the programs gas/as/gcc and set the variable *AS*
18 conf.find_program(['gas', 'gcc'], var='AS')
19 conf.env.AS_TGT_F = ['-c', '-o']
20 conf.env.ASLNK_TGT_F = ['-o']