https://origsvn.digium.com/svn/asterisk/trunk
........
r234631 | lmadsen | 2009-12-14 11:19:58 -0600 (Mon, 14 Dec 2009) | 8 lines
Update IMAP build documentation.
Update the IMAP build documentation to show how to build on 64-bit
platforms.
(issue #16433)
Reported by: shrift
Tested by: lmadsen
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@234639
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
\end{verbatim}
\end{enumerate}
+Additionally, you may wish to build on a 64-bit machine, in which case you
+need to add -fPIC to EXTRACFLAGS. So, building on a 64-bit machine with
+SSL support would look something like:
+
+\begin{verbatim}
+ $ make slx EXTRACFLAGS="-fPIC -I/usr/include/openssl"
+\end{verbatim}
+
+Or without SSL support:
+
+\begin{verbatim}
+ $ make slx SSLTYPE=none EXTRACFLAGS=-fPIC
+\end{verbatim}
+
Once this completes you can proceed with the Asterisk build; there is no
need to run 'make install'.