Tue Mar 17 18:39:45 2015 UTC ()
cwrappers-20150317: Discard obsolete GCC '-mt' argument.


(jperkin)
diff -r1.7 -r1.8 pkgsrc/pkgtools/cwrappers/Makefile
diff -r1.1 -r1.2 pkgsrc/pkgtools/cwrappers/files/bin/transform-gcc.c

cvs diff -r1.7 -r1.8 pkgsrc/pkgtools/cwrappers/Makefile (expand / switch to unified diff)

--- pkgsrc/pkgtools/cwrappers/Makefile 2015/03/15 19:16:45 1.7
+++ pkgsrc/pkgtools/cwrappers/Makefile 2015/03/17 18:39:45 1.8
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.7 2015/03/15 19:16:45 joerg Exp $ 1# $NetBSD: Makefile,v 1.8 2015/03/17 18:39:45 jperkin Exp $
2 2
3PKGNAME= cwrappers-20150314 3PKGNAME= cwrappers-20150317
4CATEGORIES= pkgtools sysutils 4CATEGORIES= pkgtools sysutils
5 5
6MAINTAINER= joerg@NetBSD.org 6MAINTAINER= joerg@NetBSD.org
7HOMEPAGE= http://www.NetBSD.org/ 7HOMEPAGE= http://www.NetBSD.org/
8COMMENT= pkgsrc compiler wrappers 8COMMENT= pkgsrc compiler wrappers
9LICENSE= modified-bsd 9LICENSE= modified-bsd
10 10
11USE_BSD_MAKEFILE= yes 11USE_BSD_MAKEFILE= yes
12USE_FEATURES= nbcompat 12USE_FEATURES= nbcompat
13 13
14INSTALLATION_DIRS= libexec/cwrappers 14INSTALLATION_DIRS= libexec/cwrappers
15 15
16.include "../../mk/bsd.prefs.mk" 16.include "../../mk/bsd.prefs.mk"

cvs diff -r1.1 -r1.2 pkgsrc/pkgtools/cwrappers/files/bin/transform-gcc.c (expand / switch to unified diff)

--- pkgsrc/pkgtools/cwrappers/files/bin/transform-gcc.c 2014/09/17 12:40:56 1.1
+++ pkgsrc/pkgtools/cwrappers/files/bin/transform-gcc.c 2015/03/17 18:39:45 1.2
@@ -133,27 +133,27 @@ static struct transformation fixed_trans @@ -133,27 +133,27 @@ static struct transformation fixed_trans
133 { "-Wundef", 7, transform_pass, NULL }, 133 { "-Wundef", 7, transform_pass, NULL },
134 { "-Wwrite-strings", 15, transform_pass, NULL }, 134 { "-Wwrite-strings", 15, transform_pass, NULL },
135 { "-w", 2, transform_discard, NULL }, 135 { "-w", 2, transform_discard, NULL },
136 { "-fexceptions", 12, transform_pass, NULL }, 136 { "-fexceptions", 12, transform_pass, NULL },
137 { "-fno-check-new", 14, transform_pass, NULL }, 137 { "-fno-check-new", 14, transform_pass, NULL },
138 { "-fno-exceptions", 15, transform_pass, NULL }, 138 { "-fno-exceptions", 15, transform_pass, NULL },
139 { "-fno-rtti", 9, transform_pass, NULL }, 139 { "-fno-rtti", 9, transform_pass, NULL },
140 { "-Wno-non-virtual-dtor", 21, transform_pass, NULL }, 140 { "-Wno-non-virtual-dtor", 21, transform_pass, NULL },
141 { "-fgnu-runtime", 13, transform_pass, NULL }, 141 { "-fgnu-runtime", 13, transform_pass, NULL },
142 { "-Kpic", 5, transform_replace, "-fPIC" }, 142 { "-Kpic", 5, transform_replace, "-fPIC" },
143 { "-kpic", 5, transform_replace, "-fPIC" }, 143 { "-kpic", 5, transform_replace, "-fPIC" },
144 { "-KPIC", 5, transform_replace, "-fPIC" }, 144 { "-KPIC", 5, transform_replace, "-fPIC" },
145 { "-kPIC", 5, transform_replace, "-fPIC" }, 145 { "-kPIC", 5, transform_replace, "-fPIC" },
146 { "-mt", 3, transform_replace, "-threads" }, 146 { "-mt", 3, transform_discard, NULL },
147 { "-64", 3, transform_replace, "-m64" }, 147 { "-64", 3, transform_replace, "-m64" },
148}; 148};
149 149
150static struct transformation var_transforms[] = { 150static struct transformation var_transforms[] = {
151 { "-D", 2, transform_pass, NULL }, 151 { "-D", 2, transform_pass, NULL },
152 { "-I", 2, transform_pass, NULL }, 152 { "-I", 2, transform_pass, NULL },
153 { "-L", 2, transform_pass, NULL }, 153 { "-L", 2, transform_pass, NULL },
154 { "-U", 2, transform_pass, NULL }, 154 { "-U", 2, transform_pass, NULL },
155 { "-falign-functions=", 18, transform_pass, NULL }, 155 { "-falign-functions=", 18, transform_pass, NULL },
156 { "-falign-loops=", 14, transform_pass, NULL }, 156 { "-falign-loops=", 14, transform_pass, NULL },
157 { "-falign-jumps=", 14, transform_pass, NULL }, 157 { "-falign-jumps=", 14, transform_pass, NULL },
158 { "-fno-builtin-", 13, transform_pass, NULL }, 158 { "-fno-builtin-", 13, transform_pass, NULL },
159 { "-mabi=", 6, transform_pass, NULL }, 159 { "-mabi=", 6, transform_pass, NULL },