summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-10-05 10:59:38 +0200
committerRemi Collet <remi@remirepo.net>2017-10-05 10:59:38 +0200
commit287550e154f8444094f08f820b65494911165c4f (patch)
treeaf0727a40538609a3bbaa56e90b7aa5d066b9436
parentb5f50048962c80b2b486e16dbb1d936cfd8850c6 (diff)
fix build opts
-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