[CMAKE/CLANG]

* Do not add PIC and PIE related flags.
CORE-8516

svn path=/trunk/; revision=64111
This commit is contained in:
Amine Khaldi 2014-09-10 19:00:53 +00:00
parent 63012a3b59
commit 9cf026de3a

View file

@ -37,6 +37,12 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
set(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
set(CMAKE_LINK_LIBRARY_SUFFIX "")
set(CMAKE_CREATE_WIN32_EXE "")
set(CMAKE_C_COMPILE_OPTIONS_PIC "")
set(CMAKE_CXX_COMPILE_OPTIONS_PIC "")
set(CMAKE_C_COMPILE_OPTIONS_PIE "")
set(CMAKE_CXX_COMPILE_OPTIONS_PIE "")
set(CMAKE_SHARED_LIBRARY_C_FLAGS "")
set(CMAKE_SHARED_LIBRARY_CXX_FLAGS "")
endif()
if(DBG)