Fix build compatibility for x64 arch
[platform/framework/web/wrt.git] / CMakeLists.txt
index b2207ee..640d527 100644 (file)
@@ -104,7 +104,11 @@ SET(CMAKE_CXX_FLAGS_CCOV       "-O0 -std=c++0x -g --coverage")
 
 ADD_DEFINITIONS("-fPIC")                        # If supported for the target machine, emit position-independent code, suitable for dynamic linking and avoiding any limit on the size of the global offset table. This option makes a difference on the m68k, PowerPC and SPARC. (BJ: our ARM too?)
 #ADD_DEFINITIONS("-fvisibility=hidden")          # Set the default ELF image symbol visibility to hidden - all symbols will be marked with this unless overridden within the code.
-ADD_DEFINITIONS("-fPIE")
+
+# We should be building with position independent code, but something
+# about the mismatch of various flags ends up breaking the build on
+# x64_64 architectues.  This issues is being tracked with TZIVI-1185
+#ADD_DEFINITIONS("-fPIE")
 
 ADD_DEFINITIONS("-DLIBDIR_PREFIX=\"${LIB_INSTALL_DIR}\"")