Commit ba7fb174 authored by Jerome Hugues's avatar Jerome Hugues
Browse files

* Add -fPIC when compiling for LINUX_DLL target

parent 5bcdd5b1
......@@ -344,6 +344,8 @@ def CalculateCFLAGS(node, withPOHIC=True):
if g_bPolyORB_HI_C and withPOHIC:
result += handlePoHiC(node) + " "
result += handleXenomaiCflags(node)
if "LINUX_DLL" in kind:
result += "-fPIC"
if "COMPCERT" in kind:
result += "-DWORD_SIZE=4"
if "NDS" in kind:
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