From 287550e154f8444094f08f820b65494911165c4f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 5 Oct 2017 10:59:38 +0200 Subject: fix build opts --- openjpeg2-static.spec | 7 +++++-- 1 file 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 - 2.2.0-4 +- fix build flags + * Wed Oct 4 2017 Remi Collet - 2.2.0-3 - build the static library -- cgit