aboutsummaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Setup.hs b/Setup.hs
index 49b78d3..529524a 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -49,6 +49,7 @@ boringsslBuild flags = do
[ "cmake"
, "-GNinja"
, "-DCMAKE_BUILD_TYPE=Release"
+ , "-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE"
, "-B" ++ buildDir
, "-H" ++ boringsslDir </> "src"
]