diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-03-17 18:39:45 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-03-17 18:39:45 +0000 |
commit | 57baa9583e4d961b8c1a2e24ca7fdbdb77ffc82a (patch) | |
tree | f3f25ad629911cf47bb54ead0d2e0ee993164be9 | |
parent | 432ebd85ddde6cbb8996d3c026a54912de2dd04c (diff) | |
download | pkgsrc-57baa9583e4d961b8c1a2e24ca7fdbdb77ffc82a.tar.gz |
cwrappers-20150317: Discard obsolete GCC '-mt' argument.
-rw-r--r-- | pkgtools/cwrappers/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/cwrappers/files/bin/transform-gcc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/cwrappers/Makefile b/pkgtools/cwrappers/Makefile index 6e66c679a41..055be124615 100644 --- a/pkgtools/cwrappers/Makefile +++ b/pkgtools/cwrappers/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2015/03/15 19:16:45 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2015/03/17 18:39:45 jperkin Exp $ -PKGNAME= cwrappers-20150314 +PKGNAME= cwrappers-20150317 CATEGORIES= pkgtools sysutils MAINTAINER= joerg@NetBSD.org diff --git a/pkgtools/cwrappers/files/bin/transform-gcc.c b/pkgtools/cwrappers/files/bin/transform-gcc.c index b97c5d64a6e..0fae0559923 100644 --- a/pkgtools/cwrappers/files/bin/transform-gcc.c +++ b/pkgtools/cwrappers/files/bin/transform-gcc.c @@ -143,7 +143,7 @@ static struct transformation fixed_transforms[] = { { "-kpic", 5, transform_replace, "-fPIC" }, { "-KPIC", 5, transform_replace, "-fPIC" }, { "-kPIC", 5, transform_replace, "-fPIC" }, - { "-mt", 3, transform_replace, "-threads" }, + { "-mt", 3, transform_discard, NULL }, { "-64", 3, transform_replace, "-m64" }, }; |