summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgalligan@chromium.org <fgalligan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 12:35:13 +0000
committerfgalligan@chromium.org <fgalligan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 12:35:13 +0000
commitd661f0522c34389d2a330d4b4ea12366127892fc (patch)
treedb633e3c9e48d83036129fa4a4723fa16863e94a
parent73f1cbf4c0866dd9b0648c39d116053e3b640e9d (diff)
downloadchromium_src-d661f0522c34389d2a330d4b4ea12366127892fc.zip
chromium_src-d661f0522c34389d2a330d4b4ea12366127892fc.tar.gz
chromium_src-d661f0522c34389d2a330d4b4ea12366127892fc.tar.bz2
Add support for win64 flags to yasm.
This change is needed to add win64 support to libvpx. BUG=166496, 170672 Review URL: https://chromiumcodereview.appspot.com/11971037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177653 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--third_party/yasm/yasm_compile.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/yasm/yasm_compile.gypi b/third_party/yasm/yasm_compile.gypi
index da3ef80..504abc2 100644
--- a/third_party/yasm/yasm_compile.gypi
+++ b/third_party/yasm/yasm_compile.gypi
@@ -68,6 +68,13 @@
'-m', 'x86',
],
}],
+ [ 'OS=="win" and target_arch=="x64"', {
+ 'yasm_flags': [
+ '-DPREFIX',
+ '-fx64',
+ '-m', 'amd64',
+ ],
+ }],
# Define output extension.
['OS=="win"', {