diff options
Diffstat (limited to 'third_party/yasm/yasm_compile.gypi')
-rw-r--r-- | third_party/yasm/yasm_compile.gypi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/yasm/yasm_compile.gypi b/third_party/yasm/yasm_compile.gypi index 8bae3a6..13597a6 100644 --- a/third_party/yasm/yasm_compile.gypi +++ b/third_party/yasm/yasm_compile.gypi @@ -36,13 +36,13 @@ }], # Define yasm_flags that pass into YASM. - [ 'OS=="linux" and target_arch=="ia32"', { + [ 'os_posix==1 and OS!="mac" and target_arch=="ia32"', { 'yasm_flags': [ '-felf32', '-m', 'x86', ], }], - [ 'OS=="linux" and target_arch=="x64"', { + [ 'os_posix==1 and OS!="mac" and target_arch=="x64"', { 'yasm_flags': [ '-DPIC', '-felf64', |