Skip to content
Snippets Groups Projects
Commit f3ab7a75 authored by Clark Coleman's avatar Clark Coleman
Browse files

Add -fPIC flag.

parent f1a844b0
No related branches found
No related tags found
1 merge request!1New lib linkage
......@@ -31,7 +31,7 @@ LIBPATH="$SECURITY_TRANSFORMS_HOME/lib"
LIBS=Split("")
myenv=myenv.Clone(CPPPATH=Split(cpppath))
myenv.Append(CXXFLAGS = " -std=c++11 -Wall -Werror -fmax-errors=2")
myenv.Append(CXXFLAGS = " -std=c++11 -Wall -Werror -fmax-errors=2 -fPIC ")
lib=myenv.Library("ehp", Split(files), LIBPATH=LIBPATH, LIBS=LIBS)
install=myenv.Install("../lib/", lib)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment