summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hdrhistogram-fpic.patch2
-rw-r--r--hdrhistogram.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/hdrhistogram-fpic.patch b/hdrhistogram-fpic.patch
index 305bf81..53546b0 100644
--- a/hdrhistogram-fpic.patch
+++ b/hdrhistogram-fpic.patch
@@ -7,7 +7,7 @@
- set(CMAKE_C_FLAGS "-Wall -Wno-unknown-pragmas -Wextra -Wshadow -Winit-self -Wmissing-prototypes -D_GNU_SOURCE")
- set(CMAKE_C_FLAGS_DEBUG "-O0 -g")
- set(CMAKE_C_FLAGS_RELEASE "-O3 -g")
-+ set(CMAKE_C_FLAGS "-fPIC -D_GNU_SOURCE")
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -D_GNU_SOURCE")
endif()
if(WIN32)
diff --git a/hdrhistogram.spec b/hdrhistogram.spec
index 3173915..ca938d0 100644
--- a/hdrhistogram.spec
+++ b/hdrhistogram.spec
@@ -17,7 +17,7 @@
Name: hdrhistogram
Summary: A High Dynamic Range (HDR) Histogram
Version: 0.9.6
-Release: 1%{?dist}
+Release: 2%{?dist}
License: CC0 or BSD
Group: System Environment/Libraries
@@ -124,6 +124,9 @@ make test
%changelog
+* Tue Aug 22 2017 Remi Collet <remi@fedoraproject.org> - 0.9.6-2
+- honour default RPM build options
+
* Fri Apr 21 2017 Remi Collet <remi@fedoraproject.org> - 0.9.6-1
- update to 0.9.6