mirror of https://gitlab.com/ita1024/waf.git
force gcc for gcc+asm support
This commit is contained in:
parent
f71406c404
commit
0d97220bd4
|
@ -0,0 +1 @@
|
||||||
|
#define SOME_VALUE 0x1111
|
|
@ -1,3 +1,4 @@
|
||||||
|
#include "header.h"
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.align 2
|
.align 2
|
||||||
|
|
|
@ -11,7 +11,7 @@ def configure(conf):
|
||||||
"""
|
"""
|
||||||
Find the programs gas/as/gcc and set the variable *AS*
|
Find the programs gas/as/gcc and set the variable *AS*
|
||||||
"""
|
"""
|
||||||
conf.find_program(['gas', 'as', 'gcc'], var='AS')
|
conf.find_program(['gas', 'gcc'], var='AS')
|
||||||
conf.env.AS_TGT_F = ['-o']
|
conf.env.AS_TGT_F = ['-c', '-o']
|
||||||
conf.env.ASLNK_TGT_F = ['-o']
|
conf.env.ASLNK_TGT_F = ['-o']
|
||||||
conf.find_ar()
|
conf.find_ar()
|
||||||
|
|
Loading…
Reference in New Issue