summaryrefslogtreecommitdiffstats
path: root/openjpeg2-static.spec
diff options
context:
space:
mode:
Diffstat (limited to 'openjpeg2-static.spec')
-rw-r--r--openjpeg2-static.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/openjpeg2-static.spec b/openjpeg2-static.spec
index 72d85aa..db311f2 100644
--- a/openjpeg2-static.spec
+++ b/openjpeg2-static.spec
@@ -8,7 +8,7 @@
Name: openjpeg2-static
Version: 2.2.0
-Release: 3%{?dist}
+Release: 3%{?dist}.1
Summary: C-Library for JPEG 2000
# windirent.h is MIT, the rest is BSD
@@ -216,7 +216,7 @@ rm -rf thirdparty
mkdir %{_target_platform}
pushd %{_target_platform}
-export CFLAGS=-fPIC
+export CFLAGS="%{optflags} -fPIC"
# TODO: Consider
# -DBUILD_JPIP_SERVER=ON -DBUILD_JAVA=ON
@@ -342,6 +342,9 @@ make test -C %{_target_platform}
%changelog
+* Thu Oct 5 2017 Remi Collet <remi@remirepo.net> - 2.2.0-4
+- fix build flags
+
* Wed Oct 4 2017 Remi Collet <remi@remirepo.net> - 2.2.0-3
- build the static library