~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to waflib/Tools/nasm.py

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler, Felipe Sateler, Jaromír Mikeš
  • Date: 2013-09-21 19:05:02 UTC
  • Revision ID: package-import@ubuntu.com-20130921190502-9by89mlwhy6cpjxo
Tags: 3.4~dfsg-2
* Team upload.

[ Felipe Sateler ]
* Re-upload to unstable

[ Jaromír Mikeš ]
* Update copyright file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /usr/bin/env python
 
2
# encoding: utf-8
 
3
# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file
 
4
 
 
5
import waflib.Tools.asm
 
6
from waflib.TaskGen import feature
 
7
def apply_nasm_vars(self):
 
8
        self.env.append_value('ASFLAGS',self.to_list(getattr(self,'nasm_flags',[])))
 
9
def configure(conf):
 
10
        nasm=conf.find_program(['nasm','yasm'],var='AS')
 
11
        conf.env.AS_TGT_F=['-o']
 
12
        conf.env.ASLNK_TGT_F=['-o']
 
13
 
 
14
feature('asm')(apply_nasm_vars)
 
 
b'\\ No newline at end of file'