]> git.pld-linux.org Git - packages/wine.git/commitdiff
we don't have target-as binary, use pure 'as', same for nm and ld
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 25 Feb 2009 14:04:25 +0000 (14:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wine-notarget.patch -> 1.1

wine-notarget.patch [new file with mode: 0644]

diff --git a/wine-notarget.patch b/wine-notarget.patch
new file mode 100644 (file)
index 0000000..2a64eaa
--- /dev/null
@@ -0,0 +1,58 @@
+--- wine-1.1.15/tools/winegcc/winegcc.c~       2009-02-13 18:01:33.000000000 +0100
++++ wine-1.1.15/tools/winegcc/winegcc.c        2009-02-25 14:37:44.743493303 +0100
+@@ -302,8 +302,7 @@
+         else str = CXX;
+         break;
+     case proc_as:
+-        if (opts->target) str = strmake( "%s-as", opts->target );
+-        else str = AS;
++        str = AS;
+         break;
+     default:
+         assert(0);
+--- wine-1.1.15/tools/winebuild/utils.c~       2009-02-13 18:01:33.000000000 +0100
++++ wine-1.1.15/tools/winebuild/utils.c        2009-02-25 14:52:51.450410422 +0100
+@@ -250,13 +250,6 @@
+ {
+     if (!as_command)
+     {
+-        if (target_alias)
+-        {
+-            as_command = xmalloc( strlen(target_alias) + sizeof("-as") );
+-            strcpy( as_command, target_alias );
+-            strcat( as_command, "-as" );
+-        }
+-        else
+         {
+             static const char * const commands[] = { "gas", "as", NULL };
+             if (!(as_command = find_tool( commands ))) as_command = xstrdup("as");
+--- wine-1.1.15/tools/winebuild/utils.c~       2009-02-25 14:53:45.976730869 +0100
++++ wine-1.1.15/tools/winebuild/utils.c        2009-02-25 14:56:43.257219329 +0100
+@@ -269,13 +269,6 @@
+ {
+     if (!ld_command)
+     {
+-        if (target_alias)
+-        {
+-            ld_command = xmalloc( strlen(target_alias) + sizeof("-ld") );
+-            strcpy( ld_command, target_alias );
+-            strcat( ld_command, "-ld" );
+-        }
+-        else
+         {
+             static const char * const commands[] = { "ld", "gld", NULL };
+             if (!(ld_command = find_tool( commands ))) ld_command = xstrdup("ld");
+@@ -295,13 +288,6 @@
+ {
+     if (!nm_command)
+     {
+-        if (target_alias)
+-        {
+-            nm_command = xmalloc( strlen(target_alias) + sizeof("-nm") );
+-            strcpy( nm_command, target_alias );
+-            strcat( nm_command, "-nm" );
+-        }
+-        else
+         {
+             static const char * const commands[] = { "nm", "gnm", NULL };
+             if (!(nm_command = find_tool( commands ))) nm_command = xstrdup("nm");
This page took 0.136958 seconds and 4 git commands to generate.