summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-12-29 17:34:31 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-12-29 17:39:18 +0100
commitf06a870b88bd99fa770839763736c01c4c51dc07 (patch)
tree462f6fb89eda846645323ada701e311db0544220 /wscript
parent392856ed4d86c71ecfb9b8036351ba2acd825a32 (diff)
downloadmpv-f06a870b88bd99fa770839763736c01c4c51dc07.tar.bz2
mpv-f06a870b88bd99fa770839763736c01c4c51dc07.tar.xz
build: add flag for inline assembly
This is used to disable inline assembly (useful for old version of binutils like the one in OpenBSD).
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3624185664..0e23e57560 100644
--- a/wscript
+++ b/wscript
@@ -59,6 +59,11 @@ build_options = [
'desc': 'w32 executable',
'deps_any': [ 'os-win32', 'os-cygwin'],
'func': check_ctx_vars('WINDRES')
+ }, {
+ 'name': '--asm',
+ 'desc': 'inline assembly',
+ 'default': 'enable',
+ 'func': check_true,
}
]