You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2016/10/11 04:44:43 UTC

[3/3] documentation commit: updated refs/heads/master to aa3b3ac

Add compiler flag documentation

Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/b4e40bf5
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/b4e40bf5
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/b4e40bf5

Branch: refs/heads/master
Commit: b4e40bf519221361a37943c60f9a5a46153b3834
Parents: b7dbecd
Author: Dave Lloyd <da...@davelloyd.com>
Authored: Mon Sep 26 08:08:09 2016 -0500
Committer: Nick Vatamaniuc <va...@apache.org>
Committed: Tue Oct 11 00:24:20 2016 -0400

----------------------------------------------------------------------
 src/install/unix.rst | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/b4e40bf5/src/install/unix.rst
----------------------------------------------------------------------
diff --git a/src/install/unix.rst b/src/install/unix.rst
index ef1f896..7b796c6 100644
--- a/src/install/unix.rst
+++ b/src/install/unix.rst
@@ -134,6 +134,10 @@ To build CouchDB you should run::
 
 Try ``gmake`` if ``make`` is giving you any problems.
 
+If include paths or other compiler options must be specified, they can be passed to rebar, which compiles Couch, with the ERL_CFLAGS environment variable. Likewise, options may be passed to the linker with the ERL_LDFLAGS environment variable.::
+
+    make release ERL_CFLAGS="-I/usr/local/include/js -I/usr/local/lib/erlang/usr/include"
+
 If everything was successful you should see the following message::
 
     ... done
@@ -299,3 +303,4 @@ Naturally now CouchDB will start automatically shortly after system starts.
 You can also configure systemd, launchd or SysV-init daemons to launch
 CouchDB and keep it running using standard configuration files. Consult
 your system documentation for more information.
+