openbsd-ports/www/chromium/patches/patch-skia_skia_gyp
robert a52e8efd8d - update to 26.0.1410.43
- switch chromium to use clang/llvm instead of gcc
- switch back to the internal libvpx because it's an unreleased version
  at this point
- re-enable SSE2 support
2013-04-03 08:19:10 +00:00

22 lines
859 B
Plaintext

$OpenBSD: patch-skia_skia_gyp,v 1.9 2013/04/03 08:19:10 robert Exp $
--- skia/skia.gyp.orig.port Fri Mar 22 02:13:24 2013
+++ skia/skia.gyp Tue Apr 2 21:05:17 2013
@@ -664,7 +664,7 @@
'SK_BUILD_FOR_ANDROID_NDK',
],
}],
- [ 'target_arch != "arm" and target_arch != "mipsel"', {
+ [ 'target_arch != "arm" and target_arch != "mipsel" or disable_sse2 != 1', {
'sources': [
'../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp',
'../third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp',
@@ -745,7 +745,7 @@
'../third_party/skia/src/opts/opts_check_arm.cpp',
],
}],
- [ 'target_arch == "mipsel"',{
+ [ 'target_arch == "mipsel" or disable_sse2 == 1',{
'cflags': [
'-fomit-frame-pointer',
],