summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 04:03:10 +0000
committerfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 04:03:10 +0000
commitdc259ce505b5ef626138b06b3e7fcb39a19ff86f (patch)
treea0ebe87609fb98e71acf24784d74a89e98106e3a /build/common.gypi
parent132b7431e2494184e93f97c86f14eb1692238475 (diff)
downloadchromium_src-dc259ce505b5ef626138b06b3e7fcb39a19ff86f.zip
chromium_src-dc259ce505b5ef626138b06b3e7fcb39a19ff86f.tar.gz
chromium_src-dc259ce505b5ef626138b06b3e7fcb39a19ff86f.tar.bz2
Enable MMX for Chrome
BUG=41259,19113 TEST=build code that uses mmx intrinsics. Review URL: http://codereview.chromium.org/1604030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44325 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 6990fcf..29ccfbe 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -405,7 +405,7 @@
'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage
},
# Add -lgcov for types executable, shared_library, and
- # loadable_module; not for static_library.
+ # loadable_module; not for static_library.
# This is a delayed conditional.
'target_conditions': [
['_type!="static_library"', {
@@ -890,8 +890,11 @@
],
}],
],
+ # -mmmx allows mmintrin.h to be used for mmx intrinsics.
+ # video playback is mmx and sse2 optimized.
'cflags': [
'-m32',
+ '-mmmx',
],
'ldflags': [
'-m32',