projects
/
platform
/
upstream
/
libpng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add color pick enabled feature for product TV
[platform/upstream/libpng.git]
/
packaging
/
libpng.spec
diff --git
a/packaging/libpng.spec
b/packaging/libpng.spec
index
f8f35c3
..
624570d
100644
(file)
--- a/
packaging/libpng.spec
+++ b/
packaging/libpng.spec
@@
-34,6
+34,13
@@
for developing programs using the PNG (Portable Network Graphics) library.
cp %{SOURCE1001} .
%build
+%ifarch %{arm}
+CFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
+%endif
+
+%if 0%{?TIZEN_PRODUCT_TV}
+CFLAGS+=" -D_PNG_COLOR_PICK_ENABLED_ -D_PNG_SEQUENTIAL_READ_SUPPORTED_"
+%endif
%configure \
--disable-static \