Commit 817c40c6 authored by jclamber's avatar jclamber

add -fPIC to nemolight compilation

git-svn-id: http://svn.oamp.fr/repos/unsio/trunk@197 ce2cc22f-6084-46ce-a062-084b172ee5dc
parent 66468a73
......@@ -55,7 +55,7 @@ SET(LIBRARY_OUTPUT_PATH lib)
# compilation options
#add_definitions(-Wall ${OPT} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE)
#add_definitions(${OPT} ${WARNOPT} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE)
add_definitions(${OPT} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE)
add_definitions(${OPT} -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE)
SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} ${WARNCPP} )
SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} ${WARNC} )
......
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