2
0
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:
Thomas Nagy 2012-05-05 17:06:34 +02:00
parent f71406c404
commit 0d97220bd4
3 changed files with 4 additions and 2 deletions

1
demos/asm/header.h Normal file
View File

@ -0,0 +1 @@
#define SOME_VALUE 0x1111

View File

@ -1,3 +1,4 @@
#include "header.h"
.text
.align 2

View File

@ -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()