diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-04-06 11:55:13 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-04-06 11:55:13 +0200 |
commit | 1d512bd8742a640a52c13aaa987a18b87bbada32 (patch) | |
tree | 57456f21dc53823d1d33970bd4fb7271b5520291 /hdrhistogram-fpic.patch | |
parent | 7be7f764646e21313696b90de2ee461420a11ad8 (diff) |
hdrhistogram: 0.9.3
Diffstat (limited to 'hdrhistogram-fpic.patch')
-rw-r--r-- | hdrhistogram-fpic.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hdrhistogram-fpic.patch b/hdrhistogram-fpic.patch new file mode 100644 index 0000000..305bf81 --- /dev/null +++ b/hdrhistogram-fpic.patch @@ -0,0 +1,13 @@ +--- ./CMakeLists.txt.opts 2016-04-06 11:28:38.677132787 +0200 ++++ ./CMakeLists.txt 2016-04-06 11:29:03.131245198 +0200 +@@ -24,9 +24,7 @@ + ENABLE_TESTING() + + if(UNIX) +- 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") + endif() + + if(WIN32) |