Commit 3c8acfc7 authored by Ghislain MARY's avatar Ghislain MARY

Add -fPIC flag only on UNIX.

parent faee32ea
......@@ -34,11 +34,10 @@ if (UNIX)
else(APPLE)
set(BUILD_V4L "yes")
endif(APPLE)
set(LINPHONE_BUILDER_TOOLCHAIN_CFLAGS "-fPIC")
endif(UNIX)
if(WIN32)
set(LINPHONE_BUILDER_TOOLCHAIN_CPPFLAGS "-D_WIN32_WINNT=0x0501 -D_ALLOW_KEYWORD_MACROS")
endif(WIN32)
set(LINPHONE_BUILDER_TOOLCHAIN_CFLAGS "-fPIC")
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