summaryrefslogtreecommitdiffstats
path: root/hdrhistogram-fpic.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-22 16:19:37 +0200
committerRemi Collet <remi@remirepo.net>2017-08-22 16:19:37 +0200
commit8d34ffa044e29305481c9d5376ade6ec4386ddd3 (patch)
tree49f68f4b51815c801605a12eae8f92292493d160 /hdrhistogram-fpic.patch
parenta21f0b7eb0a3991688b0c10c4731cb77ffeb2070 (diff)
honour default RPM build options
Diffstat (limited to 'hdrhistogram-fpic.patch')
-rw-r--r--hdrhistogram-fpic.patch2
1 files changed, 1 insertions, 1 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)