[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-cvs
Subject:    Alexandre Julliard : winegcc: Support building from the top directory.
From:       Alexandre Julliard <julliard () wine ! codeweavers ! com>
Date:       2016-03-31 16:42:55
Message-ID: E1alfgN-0000zD-Rx () wine ! codeweavers ! com
[Download RAW message or body]

Module: wine
Branch: master
Commit: 2b525db8a29080b650f57647a8839ee0b5c959f6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2b525db8a29080b650f57647a8839ee0b5c959f6

Author: Alexandre Julliard <julliard@winehq.org>
Date:   Thu Mar 31 14:34:46 2016 +0900

winegcc: Support building from the top directory.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>

---

 tools/winegcc/winegcc.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 1ddafc6..119e12b 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -1464,6 +1464,11 @@ int main(int argc, char **argv)
                         /* don't pass it to the compiler, this generates warnings */
                         raw_compiler_arg = raw_linker_arg = 0;
                     }
+                    else if (!strcmp(str, "tools/winebuild"))
+                    {
+                        opts.wine_objdir = ".";
+                        raw_compiler_arg = raw_linker_arg = 0;
+                    }
                     if (!opts.prefix) opts.prefix = strarray_alloc();
                     strarray_add(opts.prefix, str);
 		    break;




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic