| Index: third_party/yasm/yasm_compile.gypi
|
| diff --git a/third_party/yasm/yasm_compile.gypi b/third_party/yasm/yasm_compile.gypi
|
| index 8bae3a6ceddb544097f0068a16b77fb279dba45f..13597a6ed73adbd55aaa63c0e9e3d16726500a2d 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',
|
|
|