Commit 437350bc authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

cmake: build relocatable

parent 3ba79eee
......@@ -53,7 +53,7 @@ endif()
if(NOT WIN32)
# we use PyArg_ParseTupleAndKeywords several times, which erroneously accepts
# a char* array instead of a const char* array
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-write-strings")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-write-strings -fPIC")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment