]>
Commit | Line | Data |
---|---|---|
2877d0e0 AM |
1 | --- wine-1.1.15/tools/winegcc/winegcc.c~ 2009-02-13 18:01:33.000000000 +0100 |
2 | +++ wine-1.1.15/tools/winegcc/winegcc.c 2009-02-25 14:37:44.743493303 +0100 | |
3 | @@ -302,8 +302,7 @@ | |
6b44696c | 4 | else str = CPP; |
2877d0e0 | 5 | break; |
6b44696c | 6 | case proc_cc: |
2877d0e0 | 7 | case proc_as: |
6b44696c AG |
8 | - if (opts->target) str = strmake( "%s-gcc", opts->target ); |
9 | - else str = CC; | |
10 | + str = CC; | |
2877d0e0 | 11 | break; |
6b44696c AG |
12 | case proc_cxx: |
13 | if (opts->target) str = strmake( "%s-g++", opts->target ); | |
2877d0e0 AM |
14 | --- wine-1.1.15/tools/winebuild/utils.c~ 2009-02-13 18:01:33.000000000 +0100 |
15 | +++ wine-1.1.15/tools/winebuild/utils.c 2009-02-25 14:52:51.450410422 +0100 | |
16 | @@ -250,13 +250,6 @@ | |
17 | { | |
18 | if (!as_command) | |
19 | { | |
20 | - if (target_alias) | |
21 | - { | |
22 | - as_command = xmalloc( strlen(target_alias) + sizeof("-as") ); | |
23 | - strcpy( as_command, target_alias ); | |
24 | - strcat( as_command, "-as" ); | |
25 | - } | |
26 | - else | |
27 | { | |
28 | static const char * const commands[] = { "gas", "as", NULL }; | |
29 | if (!(as_command = find_tool( commands ))) as_command = xstrdup("as"); | |
30 | --- wine-1.1.15/tools/winebuild/utils.c~ 2009-02-25 14:53:45.976730869 +0100 | |
31 | +++ wine-1.1.15/tools/winebuild/utils.c 2009-02-25 14:56:43.257219329 +0100 | |
32 | @@ -269,13 +269,6 @@ | |
33 | { | |
34 | if (!ld_command) | |
35 | { | |
36 | - if (target_alias) | |
37 | - { | |
38 | - ld_command = xmalloc( strlen(target_alias) + sizeof("-ld") ); | |
39 | - strcpy( ld_command, target_alias ); | |
40 | - strcat( ld_command, "-ld" ); | |
41 | - } | |
42 | - else | |
43 | { | |
44 | static const char * const commands[] = { "ld", "gld", NULL }; | |
45 | if (!(ld_command = find_tool( commands ))) ld_command = xstrdup("ld"); | |
46 | @@ -295,13 +288,6 @@ | |
47 | { | |
48 | if (!nm_command) | |
49 | { | |
50 | - if (target_alias) | |
51 | - { | |
52 | - nm_command = xmalloc( strlen(target_alias) + sizeof("-nm") ); | |
53 | - strcpy( nm_command, target_alias ); | |
54 | - strcat( nm_command, "-nm" ); | |
55 | - } | |
56 | - else | |
57 | { | |
58 | static const char * const commands[] = { "nm", "gnm", NULL }; | |
59 | if (!(nm_command = find_tool( commands ))) nm_command = xstrdup("nm"); |