Force -fPIE flags in jemalloc build.
This commit is contained in:
parent
7ca99a4d08
commit
2827dd851e
1 changed files with 1 additions and 1 deletions
2
external/jemalloc/CMakeLists.txt
vendored
2
external/jemalloc/CMakeLists.txt
vendored
|
|
@ -29,7 +29,7 @@ if (NOT JEMALLOC_FOUND)
|
|||
include(ExternalProject)
|
||||
ExternalProject_Add(jemalloc
|
||||
SOURCE_DIR ${jemalloc_loc}
|
||||
CONFIGURE_COMMAND cd "${jemalloc_loc}" && CC=clang CXX=clang++ ./autogen.sh
|
||||
CONFIGURE_COMMAND cd "${jemalloc_loc}" && CC=clang CXX=clang++ EXTRA_CFLAGS=-fPIE EXTRA_CXXFLAGS=-fPIE ./autogen.sh
|
||||
INSTALL_COMMAND :
|
||||
BUILD_IN_SOURCE 1
|
||||
BUILD_BYPRODUCTS ${jemalloc_loc}/lib/libjemalloc.a
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue