diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-18 18:04:27 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-18 18:04:27 +0000 |
commit | 8f08db25e83410e4bacd5311daf9e696042f20ec (patch) | |
tree | e35fed8c9fafd8de9123d36ea07f6ad2c9e1e403 /third_party/yasm/yasm_compile.gypi | |
parent | 53612e860974f1fef3104520b1dcbdda5d6b96c9 (diff) | |
download | chromium_src-8f08db25e83410e4bacd5311daf9e696042f20ec.zip chromium_src-8f08db25e83410e4bacd5311daf9e696042f20ec.tar.gz chromium_src-8f08db25e83410e4bacd5311daf9e696042f20ec.tar.bz2 |
OpenBSD support for yasm.
- include the openbsd configuration for yasm
- use the correct yasm_flags on every posix system except for mac
Patch by Robert Nagy <robert.nagy@gmail.com>
BUG=
TEST=
Review URL: http://codereview.chromium.org/8348002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106083 0039d316-1c4b-4281-b951-d872f2087c98
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', |