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}\"")