Commit 2804c313 authored by Dominik Charousset's avatar Dominik Charousset

Set -fPIC on static builds

parent abbb245c
......@@ -341,7 +341,7 @@ if(MINGW)
build_string("EXTRA_FLAGS" "-static")
elseif(CYGWIN)
build_string("EXTRA_FLAGS" "-U__STRICT_ANSI__")
elseif(NOT CAF_BUILD_STATIC_ONLY)
else()
build_string("EXTRA_FLAGS" "-fPIC")
endif()
if (WIN32)
......
Markdown is supported
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