pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/pkgtools/cwrappers



From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Wed, 18 Mar 2015 23:16:47 +0900 (JST)

> From: "Jonathan Perkin" <jperkin%netbsd.org@localhost>, Date: Tue, 17 Mar 2015 18:39:45 +0000
> 
>> Module Name: pkgsrc
>> Committed By:        jperkin
>> Date:                Tue Mar 17 18:39:45 UTC 2015
>> 
>> Modified Files:
>>      pkgsrc/pkgtools/cwrappers: Makefile
>>      pkgsrc/pkgtools/cwrappers/files/bin: transform-gcc.c
>> 
>> Log Message:
>> cwrappers-20150317: Discard obsolete GCC '-mt' argument.
> 
> Hi,
> 
> I believe following patch and "make transform-gcc.c" is correct.
> 
> Index: transform-gcc-rules
> ===================================================================
> RCS file: /cvsroot/pkgsrc/pkgtools/cwrappers/files/bin/transform-gcc-rules,v
> retrieving revision 1.1
> diff -u -r1.1 transform-gcc-rules
> --- transform-gcc-rules       17 Sep 2014 12:40:56 -0000      1.1
> +++ transform-gcc-rules       18 Mar 2015 14:16:00 -0000
> @@ -167,6 +167,5 @@
>  -kpic ==> -fPIC
>  -KPIC ==> -fPIC
>  -kPIC ==> -fPIC
> --mt ==> -threads
>  -64 ==> -m64
>  -* ==!

Oops.
You want to remove -mt from arguments.
Following is correct.

Index: transform-gcc-rules
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/cwrappers/files/bin/transform-gcc-rules,v
retrieving revision 1.1
diff -u -r1.1 transform-gcc-rules
--- transform-gcc-rules 17 Sep 2014 12:40:56 -0000      1.1
+++ transform-gcc-rules 18 Mar 2015 14:28:53 -0000
@@ -167,6 +167,6 @@
 -kpic ==> -fPIC
 -KPIC ==> -fPIC
 -kPIC ==> -fPIC
--mt ==> -threads
+-mt ==|
 -64 ==> -m64
 -* ==!


> 
>> 
>> To generate a diff of this commit:
>> cvs rdiff -u -r1.7 -r1.8 pkgsrc/pkgtools/cwrappers/Makefile
>> cvs rdiff -u -r1.1 -r1.2 pkgsrc/pkgtools/cwrappers/files/bin/transform-gcc.c
>> 
>> Please note that diffs are not public domain; they are subject to the
>> copyright notices on the relevant files.
>> 
> 
> --
> Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3



Home | Main Index | Thread Index | Old Index