Skip to content

Commit

Permalink
Compile with -fPIC.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Nov 27, 2018
1 parent a081b9e commit ea13683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/execute/signalhandlers/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.0)
project(SignalHandlers CXX)

set(CMAKE_CXX_FLAGS "-std=c++11 -fno-exceptions -fno-rtti")
set(CMAKE_CXX_FLAGS "-std=c++11 -fno-exceptions -fno-rtti -fPIC")

add_library(SignalHandlers STATIC SignalHandlers.cpp)

Expand Down

0 comments on commit ea13683

Please sign in to comment.