libraries/opencv: Added -DNABLE_PRECOMPILED_HEADERS=OFF.

This reduces the amount of disk space needed to build
by about 2Gb

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
M.Dinslage 2012-12-22 09:49:25 +01:00 committed by Matteo Bernardini
parent 56c357a3cc
commit 7826eb9241
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@
PRGNAM=opencv
SRCNAM=OpenCV
VERSION=${VERSION:-2.4.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -80,6 +80,7 @@ cd build
-DINSTALL_MAN_DIR=man \
-DINSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \
-DBUILD_SHARED_LIBS=ON \
-DENABLE_PRECOMPILED_HEADERS=OFF \
-DLIB_SUFFIX=$LIBDIRSUFFIX \
-DLIB_INSTALL_DIR=/usr/lib$LIBDIRSUFFIX \
..

View file

@ -8,4 +8,3 @@ MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="M.Dinslage"
EMAIL="daedra1980@gmail.com"