Bug 1234494 - part 2 - disable Skia GPU support by default on certain *BSDs, r=glandium
authorLee Salzman <lsalzman@mozilla.com>
Wed, 30 Dec 2015 12:17:06 -0500
changeset 318107 6dc2cbf77516823b68a1aacfede282a38b034049
parent 318106 fe2de129d7c3e8faf67bff66fb05840ba0163cf3
child 318108 6fa20905baa9a06ec6606936bdcf5b499921c444
push id8842
push usergijskruitbosch@gmail.com
push dateThu, 31 Dec 2015 13:04:55 +0000
reviewersglandium
bugs1234494
milestone46.0a1
Bug 1234494 - part 2 - disable Skia GPU support by default on certain *BSDs, r=glandium
configure.in
--- a/configure.in
+++ b/configure.in
@@ -7986,16 +7986,25 @@ else
 MOZ_ENABLE_SKIA=
 fi
 
 MOZ_ARG_ENABLE_BOOL(skia,
 [  --enable-skia   Enable use of Skia],
 MOZ_ENABLE_SKIA=1,
 MOZ_ENABLE_SKIA=)
 
+dnl Skia GPU support may not reliably build on certain *BSDs (see bug 1234494).
+if test "${OS_TARGET}" = "OpenBSD" -o \
+        "${OS_TARGET}" = "NetBSD" -o \
+        "${OS_ARCH}" = "SunOS"; then
+    MOZ_DISABLE_SKIA_GPU=1
+else
+    MOZ_DISABLE_SKIA_GPU=
+fi
+
 MOZ_ARG_DISABLE_BOOL(skia-gpu,
 [  --disable-skia-gpu  Disable use of Skia-GPU],
 MOZ_DISABLE_SKIA_GPU=1,
 MOZ_DISABLE_SKIA_GPU=)
 
 if test "$USE_FC_FREETYPE"; then
     if test "$COMPILE_ENVIRONMENT"; then
         dnl ========================================================