Author: akhaldi
Date: Wed Sep 10 19:00:53 2014
New Revision: 64111
URL:
http://svn.reactos.org/svn/reactos?rev=64111&view=rev
Log:
[CMAKE/CLANG]
* Do not add PIC and PIE related flags.
CORE-8516
Modified:
trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=64111&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Wed Sep 10 19:00:53 2014
@@ -37,6 +37,12 @@
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)