summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorTae-Young Chung <ty83.chung@samsung.com>2016-11-30 16:58:55 +0900
committerTae-Young Chung <ty83.chung@samsung.com>2016-12-02 17:08:15 +0900
commitcf500a836995b505e1a0e500636721c7a595e7e9 (patch)
tree48614059894c5352b078b0728058135ad5dc6d84 /packaging
parent4f3e68a11484b0aaceceeba9c4c1bb42861d56b9 (diff)
downloadlibzint-cf500a836995b505e1a0e500636721c7a595e7e9.tar.gz
libzint-cf500a836995b505e1a0e500636721c7a595e7e9.tar.bz2
libzint-cf500a836995b505e1a0e500636721c7a595e7e9.zip
Removed unreachable code and fixed buffer overflow
- Replace unreachable code for debug purpose with #ifdef preprocessor. - Fixed possible buffer overflow Change-Id: Ia8a6a073ab82f32c038b60cf493f0529f4e2c8e7 Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/zint.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/zint.spec b/packaging/zint.spec
index 35ffdce..f11e101 100644
--- a/packaging/zint.spec
+++ b/packaging/zint.spec
@@ -1,6 +1,6 @@
Name: zint
Version: 2.4.3
-Release: 11
+Release: 12
Summary: Barcode generator library
License: BSD-2.0
URL: http://www.zint.org.uk
@@ -49,7 +49,7 @@ ARCH=aarch64
ARCH=arm
%endif
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=${ARCH}
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=${ARCH} -DENABLE_DEBUG=OFF
make VERBOSE=1