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