diff options
author | M.Dinslage <daedra1980@gmail.com> | 2012-12-22 09:49:25 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-22 09:49:25 +0100 |
commit | 7826eb9241ad30622a7a19a4a9b6930eb720981d (patch) | |
tree | 6d558724fed9ad15f98cb00502d27d9e961c2c3c /libraries/opencv/opencv.SlackBuild | |
parent | 56c357a3cc87e3bfa73c1366b5d3d77b82bafa36 (diff) | |
download | slackbuilds-7826eb9241ad30622a7a19a4a9b6930eb720981d.tar.gz |
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>
Diffstat (limited to 'libraries/opencv/opencv.SlackBuild')
-rw-r--r-- | libraries/opencv/opencv.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild index 08333c881a..5ec4de9515 100644 --- a/libraries/opencv/opencv.SlackBuild +++ b/libraries/opencv/opencv.SlackBuild @@ -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 \ .. |