summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2012-07-12 12:35:21 +0000
committerespie <espie@openbsd.org>2012-07-12 12:35:21 +0000
commit4753e5f2871f080ef9a73dfb42b88af176deb167 (patch)
treecf1e2fe5ffbbcd2e209da21ec6e6e1dc765ca718
parentallow "long options" to be one letter, enforce with ! (diff)
downloadwireguard-openbsd-4753e5f2871f080ef9a73dfb42b88af176deb167.tar.xz
wireguard-openbsd-4753e5f2871f080ef9a73dfb42b88af176deb167.zip
match what stupid gnu libtool is doing, namely -o is not a short option
-rw-r--r--usr.bin/libtool/LT/Mode/Compile.pm4
-rw-r--r--usr.bin/libtool/LT/Mode/Link.pm4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/libtool/LT/Mode/Compile.pm b/usr.bin/libtool/LT/Mode/Compile.pm
index 55a0a931743..6e860dfcee6 100644
--- a/usr.bin/libtool/LT/Mode/Compile.pm
+++ b/usr.bin/libtool/LT/Mode/Compile.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Compile.pm,v 1.11 2012/07/10 12:24:45 espie Exp $
+# $OpenBSD: Compile.pm,v 1.12 2012/07/12 12:35:21 espie Exp $
#
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
# Copyright (c) 2012 Marc Espie <espie@openbsd.org>
@@ -56,7 +56,7 @@ sub run
my @pie_flags = ();
- $gp->handle_permuted_options('o:@',
+ $gp->handle_permuted_options('o:!@',
qr{\-Wc\,(.*)},
sub {
$gp->keep_for_later(split(/\,/, shift));
diff --git a/usr.bin/libtool/LT/Mode/Link.pm b/usr.bin/libtool/LT/Mode/Link.pm
index 7713a17d36e..8d9b6f73be0 100644
--- a/usr.bin/libtool/LT/Mode/Link.pm
+++ b/usr.bin/libtool/LT/Mode/Link.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Link.pm,v 1.15 2012/07/12 12:20:06 espie Exp $
+# $OpenBSD: Link.pm,v 1.16 2012/07/12 12:35:21 espie Exp $
#
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
# Copyright (c) 2012 Marc Espie <espie@openbsd.org>
@@ -140,7 +140,7 @@ sub run
'no-fast-install',
'no-install',
'no-undefined',
- 'o:@',
+ 'o:!@',
'objectlist:',
'precious-files-regex:',
'prefer-pic',