summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmael Luceno2016-11-23 10:59:28 -0200
committerIsmael Luceno2016-11-23 11:01:29 -0200
commit9f1a80fc8e6865365e3ce644056ff385c41240f3 (patch)
tree497bc2b2d168576f84971dca848d519996e8693f
parent3ab5367e17c39c357c42d11dd5d52cf489455cdb (diff)
opencv: disable PCH, causes build failures
-rwxr-xr-xgraphics-libs/opencv/BUILD3
-rw-r--r--graphics-libs/opencv/HISTORY1
2 files changed, 4 insertions, 0 deletions
diff --git a/graphics-libs/opencv/BUILD b/graphics-libs/opencv/BUILD
index 4e7d3e5efc..78c1c20c9f 100755
--- a/graphics-libs/opencv/BUILD
+++ b/graphics-libs/opencv/BUILD
@@ -1,6 +1,9 @@
CXXFLAGS=-D__STDC_CONSTANT_MACROS &&
OPTS+=" -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=0 -DBUILD_PERF_TESTS=0 \
-DBUILD_TESTS=0" &&
+# PCH fails, at least with, with GCC 6.2
+OPTS+=" -DENABLE_PRECOMPILED_HEADERS=0" &&
+
if is_depends_enabled $SPELL qt4;then
qt4_cmake_build
else
diff --git a/graphics-libs/opencv/HISTORY b/graphics-libs/opencv/HISTORY
index 8f1ea6050a..e8ca558efd 100644
--- a/graphics-libs/opencv/HISTORY
+++ b/graphics-libs/opencv/HISTORY
@@ -1,5 +1,6 @@
2016-11-23 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 2.4.13
+ * BUILD: disabled PCH, causing build failures
2016-01-01 Treeve Jelbert <treeve@sourcemage.org>
* INSTALL: added, for cmake_install