Module: wine
Branch: stable
Commit: 762e2f2ae7abd394a398710380148003e0fe3399
URL: http://source.winehq.org/git/wine.git/?a=commit;h=762e2f2ae7abd394a39871038…
Author: Jens Reyer <jre.winesim(a)gmail.com>
Date: Tue Mar 15 17:28:00 2016 +0100
winegcc: Document WINEBUILD in the manpage.
Signed-off-by: Jens Reyer <jre.winesim(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
(cherry picked from commit d2d44610a2b66d8aff886729db03be7e7da09e6e)
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org>
---
tools/winegcc/winegcc.man.in | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tools/winegcc/winegcc.man.in b/tools/winegcc/winegcc.man.in
index f4fecc7..b4fc12d 100644
--- a/tools/winegcc/winegcc.man.in
+++ b/tools/winegcc/winegcc.man.in
@@ -67,6 +67,13 @@ Do not add the winecrt0 library when linking.
.IP \fB-Wb,\fIoption\fR
Pass an option to winebuild. If \fIoption\fR contains
commas, it is split into multiple options at the commas.
+.SH ENVIRONMENT
+.TP
+.B WINEBUILD
+Specifies the path and name of the \fBwinebuild\fR binary that will be
+launched automatically by \fBwinegcc\fR.
+If not set, \fBwinegcc\fR will look for a file named \fIwinebuild\fR
+in the path.
.SH DEFINES
winegcc defines __WINE__, for code that needs to know when it is
being compiled under Wine. It also defines WIN32, _WIN32, __WIN32,