From: <ric...@us...> - 2011-09-29 20:47:17
|
Revision: 1120 http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1120&view=rev Author: rich_sposato Date: 2011-09-29 20:47:11 +0000 (Thu, 29 Sep 2011) Log Message: ----------- Changed which libraries are linked. Modified Paths: -------------- trunk/test/ThreadLocal/ThreadLocal.cbp Modified: trunk/test/ThreadLocal/ThreadLocal.cbp =================================================================== --- trunk/test/ThreadLocal/ThreadLocal.cbp 2011-09-29 20:40:13 UTC (rev 1119) +++ trunk/test/ThreadLocal/ThreadLocal.cbp 2011-09-29 20:47:11 UTC (rev 1120) @@ -15,11 +15,13 @@ <Add option="-Wmain" /> <Add option="-pedantic" /> <Add option="-g" /> - <Add option="-W -lc" /> + <Add option="-W -fPIE" /> <Add directory="../../include" /> </Compiler> <Linker> - <Add library="/usr/lib/libpthread.a" /> + <Add option="-pie" /> + <Add library="/usr/lib/libpthread.so" /> + <Add library="/usr/lib/libc.so" /> </Linker> </Target> <Target title="Release_GCC"> @@ -29,9 +31,14 @@ <Option compiler="gcc" /> <Compiler> <Add option="-O2" /> + <Add option="-W -fPIE" /> + <Add directory="../../include" /> </Compiler> <Linker> <Add option="-s" /> + <Add option="-pie" /> + <Add library="/usr/lib/libpthread.so" /> + <Add library="/usr/lib/libc.so" /> </Linker> </Target> </Build> @@ -39,6 +46,9 @@ <Add option="-Wall" /> <Add option="-fexceptions" /> </Compiler> + <Unit filename="ThreadPool.cpp" /> + <Unit filename="ThreadPool.hpp" /> + <Unit filename="ThreadTests.cpp" /> <Unit filename="main.cpp" /> <Extensions> <code_completion /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |